about summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2019-08-30 15:49:04 -0400
committerGitHub <noreply@github.com>2019-08-30 15:49:04 -0400
commit765596278bdd2a1e7696538413d8ccb4fbf88f03 (patch)
treee0d7e30ef129cb89820036e48948c33b7809bbb7 /pkgs/misc
parent722940fcdcfeb99787377a15be55d2e0b34c4822 (diff)
parentc11fd45c244b24897e8e111b07c7cbce911255f1 (diff)
Merge pull request #67380 from doronbehar/package-uq
uq: init at 2018-05-27
Diffstat (limited to 'pkgs/misc')
-rwxr-xr-xpkgs/misc/uq/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/misc/uq/default.nix b/pkgs/misc/uq/default.nix
new file mode 100755
index 0000000000000..9dcfae41ea820
--- /dev/null
+++ b/pkgs/misc/uq/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, fetchFromGitHub
+, rustPlatform
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "uq";
+  version = "unstable-2018-05-27";
+
+  src = fetchFromGitHub {
+    owner = "lostutils";
+    repo = "uq";
+    rev = "118bc2f3b1cf292afdffbc1cb4415d150b323165";
+    sha256 = "1qqqmdk0v1d3ckasmmw5lbrkvhkv0nws4bzi9cfi1ndhrbvbkbxb";
+  };
+
+  cargoSha256 = "1s22v2wz5h3l5l447zl54bhdk6avkk2ycrbbpxcx1442lllbss4w";
+
+  meta = with lib; {
+    description = "A simple, user-friendly alternative to sort | uniq";
+    homepage = "https://github.com/lostutils/uq";
+    license = licenses.mit;
+    maintainers = with maintainers; [ doronbehar ];
+    platforms = platforms.all;
+  };
+}