summary refs log tree commit diff
path: root/pkgs/tools/misc/hoard
diff options
context:
space:
mode:
authorBuilditluc <37375448+Builditluc@users.noreply.github.com>2022-06-11 13:08:14 +0200
committerBuilditluc <37375448+Builditluc@users.noreply.github.com>2022-06-11 15:16:56 +0200
commite329b995f260ac8e134dfe95565a7dc312afa0db (patch)
tree93ec03b9e6b3be9b36fa30dc2348246b31071343 /pkgs/tools/misc/hoard
parentef103337fd168b23ed8910e41576a67118b5f92a (diff)
downloadnixpkgs-e329b995f260ac8e134dfe95565a7dc312afa0db.tar
nixpkgs-e329b995f260ac8e134dfe95565a7dc312afa0db.tar.gz
nixpkgs-e329b995f260ac8e134dfe95565a7dc312afa0db.tar.bz2
nixpkgs-e329b995f260ac8e134dfe95565a7dc312afa0db.tar.lz
nixpkgs-e329b995f260ac8e134dfe95565a7dc312afa0db.tar.xz
nixpkgs-e329b995f260ac8e134dfe95565a7dc312afa0db.tar.zst
nixpkgs-e329b995f260ac8e134dfe95565a7dc312afa0db.zip
hoard: init at 1.0.1
Diffstat (limited to 'pkgs/tools/misc/hoard')
-rw-r--r--pkgs/tools/misc/hoard/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/misc/hoard/default.nix b/pkgs/tools/misc/hoard/default.nix
new file mode 100644
index 00000000000..e69b517b4e1
--- /dev/null
+++ b/pkgs/tools/misc/hoard/default.nix
@@ -0,0 +1,27 @@
+{ lib, rustPlatform, fetchFromGitHub, ncurses, openssl, pkg-config, stdenv, Security }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "hoard";
+  version = "1.0.1";
+
+  src = fetchFromGitHub {
+    owner = "Hyde46";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-xXZ1bbCRhS8/rb1eIErvw2wEWF1unLXSP/YKn5Z4Vwo=";
+  };
+
+  buildInputs = [ ncurses openssl ]
+    ++ lib.optional stdenv.isDarwin Security;
+
+  nativeBuildInputs = [ pkg-config ];
+
+  cargoSha256 = "sha256-c60yxbZG258R5iH6x0LhipbyXal/kDxddEzTfl82hCE=";
+
+  meta = with lib; {
+    description = "CLI command organizer written in rust";
+    homepage = "https://github.com/hyde46/hoard";
+    license = licenses.mit;
+    maintainers = with maintainers; [ builditluc ];
+  };
+}