depot/third_party/nixpkgs/pkgs/tools/misc/hoard/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

27 lines
742 B
Nix

{ 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 ];
};
}