2022-06-16 17:23:12 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, ncurses, openssl, pkg-config, stdenv, Security }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "hoard";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "1.3.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Hyde46";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-01-11 07:51:40 +00:00
|
|
|
sha256 = "sha256-WCyu6vW0l8J2Xh8OGXMXVDBs287m2nPlRHeA0j8uvlk=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses openssl ]
|
|
|
|
++ lib.optional stdenv.isDarwin Security;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
cargoSha256 = "sha256-Cku9NnrjWT7VmOCryb0sbCQibG+iU9CHT3Cvd6M/9f4=";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "CLI command organizer written in rust";
|
|
|
|
homepage = "https://github.com/hyde46/hoard";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ builditluc ];
|
|
|
|
};
|
|
|
|
}
|