nixpkgs/pkgs/tools/security/himitsu/default.nix
2023-12-06 17:33:13 +00:00

39 lines
720 B
Nix

{ lib
, stdenv
, fetchFromSourcehut
, hare
, scdoc
}:
stdenv.mkDerivation rec {
pname = "himitsu";
version = "0.5";
src = fetchFromSourcehut {
name = pname + "-src";
owner = "~sircmpwn";
repo = pname;
rev = version;
hash = "sha256-rZ3gzVz7V3psHAMxTCaJXZh4uP4gIeyb9Bf23kzCBWg=";
};
nativeBuildInputs = [
hare
scdoc
];
preConfigure = ''
export HARECACHE=$(mktemp -d)
'';
installFlags = [ "PREFIX=" "DESTDIR=$(out)" ];
meta = with lib; {
homepage = "https://himitsustore.org/";
description = "A secret storage manager";
license = licenses.gpl3Only;
maintainers = with maintainers; [ auchter ];
inherit (hare.meta) platforms badPlatforms;
};
}