biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / misc / hoard / default.nix
blob1972c9c793862ce9734be457e036d5c5c482e80e
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , pkg-config
5 , openssl
6 , stdenv
7 , darwin
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "hoard";
12   version = "1.4.2";
14   src = fetchFromGitHub {
15     owner = "Hyde46";
16     repo = "hoard";
17     rev = "v${version}";
18     hash = "sha256-c9iSbxkHwLOeATkO7kzTyLD0VAwZUzCvw5c4FyuR5/E=";
19   };
21   cargoHash = "sha256-4EeeD1ySR4M1i2aaKJP/BNSn+t1l8ingiv2ZImFFn1A=";
23   nativeBuildInputs = [ pkg-config ];
25   buildInputs = [
26     openssl
27   ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
28     darwin.apple_sdk.frameworks.Security
29   ];
31   meta = with lib; {
32     description = "CLI command organizer written in rust";
33     homepage = "https://github.com/hyde46/hoard";
34     changelog = "https://github.com/Hyde46/hoard/blob/${src.rev}/CHANGES.md";
35     license = licenses.mit;
36     maintainers = with maintainers; [ builditluc figsoda ];
37     mainProgram = "hoard";
38   };