python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / hoard / default.nix
blobe69b517b4e15b1980518fa29680e71d839af84bc
1 { lib, rustPlatform, fetchFromGitHub, ncurses, openssl, pkg-config, stdenv, Security }:
3 rustPlatform.buildRustPackage rec {
4   pname = "hoard";
5   version = "1.0.1";
7   src = fetchFromGitHub {
8     owner = "Hyde46";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-xXZ1bbCRhS8/rb1eIErvw2wEWF1unLXSP/YKn5Z4Vwo=";
12   };
14   buildInputs = [ ncurses openssl ]
15     ++ lib.optional stdenv.isDarwin Security;
17   nativeBuildInputs = [ pkg-config ];
19   cargoSha256 = "sha256-c60yxbZG258R5iH6x0LhipbyXal/kDxddEzTfl82hCE=";
21   meta = with lib; {
22     description = "CLI command organizer written in rust";
23     homepage = "https://github.com/hyde46/hoard";
24     license = licenses.mit;
25     maintainers = with maintainers; [ builditluc ];
26   };