depot/third_party/nixpkgs/pkgs/tools/misc/hoard/default.nix
Default email 686ce24904 Project import generated by Copybara.
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
2023-02-16 18:41:37 +01:00

27 lines
740 B
Nix

{ lib, rustPlatform, fetchFromGitHub, ncurses, openssl, pkg-config, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "hoard";
version = "1.3.1";
src = fetchFromGitHub {
owner = "Hyde46";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Gm3X6/g5JQJEl7wRvWcO4j5XpROhtfRJ72LNaUeZRGc=";
};
buildInputs = [ ncurses openssl ]
++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ pkg-config ];
cargoHash = "sha256-ZNhUqnsme1rczl3FdFBGGs+vBDFcFEELkPp0/udTfR4=";
meta = with lib; {
description = "CLI command organizer written in rust";
homepage = "https://github.com/hyde46/hoard";
license = licenses.mit;
maintainers = with maintainers; [ builditluc ];
};
}