diff options
author | Builditluc <37375448+Builditluc@users.noreply.github.com> | 2022-06-11 13:08:14 +0200 |
---|---|---|
committer | Builditluc <37375448+Builditluc@users.noreply.github.com> | 2022-06-11 15:16:56 +0200 |
commit | e329b995f260ac8e134dfe95565a7dc312afa0db (patch) | |
tree | 93ec03b9e6b3be9b36fa30dc2348246b31071343 /pkgs/tools/misc/hoard | |
parent | ef103337fd168b23ed8910e41576a67118b5f92a (diff) |
hoard: init at 1.0.1
Diffstat (limited to 'pkgs/tools/misc/hoard')
-rw-r--r-- | pkgs/tools/misc/hoard/default.nix | 27 |
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 0000000000000..e69b517b4e15b --- /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 ]; + }; +} |