2022-06-21 17:43:44 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromSourcehut
|
|
|
|
, hare
|
|
|
|
, scdoc
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "himitsu";
|
2023-05-12 04:34:03 +02:00
|
|
|
version = "0.3";
|
2022-06-21 17:43:44 +02:00
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
name = pname + "-src";
|
|
|
|
owner = "~sircmpwn";
|
|
|
|
repo = pname;
|
2023-05-12 04:34:03 +02:00
|
|
|
rev = version;
|
|
|
|
hash = "sha256-HoAntg9aQhMmff3T3/xnor7Sf3yX9qBbZlpVfyac5o8=";
|
2022-06-21 17:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
hare
|
|
|
|
scdoc
|
|
|
|
];
|
|
|
|
|
2022-08-19 02:22:26 +02:00
|
|
|
preConfigure = ''
|
|
|
|
export HARECACHE=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
|
2022-06-21 17:43:44 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|