nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 39 lines 806 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 openssl, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "hoard"; 11 version = "1.4.2"; 12 13 src = fetchFromGitHub { 14 owner = "Hyde46"; 15 repo = "hoard"; 16 rev = "v${version}"; 17 hash = "sha256-c9iSbxkHwLOeATkO7kzTyLD0VAwZUzCvw5c4FyuR5/E="; 18 }; 19 20 cargoHash = "sha256-+XZL0a7/9Ic6cmym3ctwmGMu4xjGPCA2E7OrBj7Bfvw="; 21 22 nativeBuildInputs = [ pkg-config ]; 23 24 buildInputs = [ 25 openssl 26 ]; 27 28 meta = with lib; { 29 description = "CLI command organizer written in rust"; 30 homepage = "https://github.com/hyde46/hoard"; 31 changelog = "https://github.com/Hyde46/hoard/blob/${src.rev}/CHANGES.md"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ 34 builditluc 35 figsoda 36 ]; 37 mainProgram = "hoard"; 38 }; 39}