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