Files
Marcin Serwin 99e6d1bfbb maintainers: drop lovek323
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-02-24 23:43:50 +01:00

41 lines
895 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
tomb,
}:
stdenv.mkDerivation rec {
pname = "pass-tomb";
version = "1.3";
src = fetchFromGitHub {
owner = "roddhjav";
repo = "pass-tomb";
rev = "v${version}";
sha256 = "sha256-kbbMHmYmeyt7HM8YiNhknePm1vUaXWWXPWePKGpbU+o=";
};
buildInputs = [ tomb ];
dontBuild = true;
installFlags = [ "PREFIX=$(out)" ];
postFixup = ''
substituteInPlace $out/lib/password-store/extensions/tomb.bash \
--replace 'TOMB="''${PASSWORD_STORE_TOMB:-tomb}"' 'TOMB="''${PASSWORD_STORE_TOMB:-${tomb}/bin/tomb}"'
'';
meta = {
description = "Pass extension that keeps the password store encrypted inside a tomb";
homepage = "https://github.com/roddhjav/pass-tomb";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
fpletz
tadfisher
];
platforms = lib.platforms.unix;
};
}