pass: Make tomb plugin optional (disabled by default)
This commit is contained in:
parent
3963dfe222
commit
f4d1d269fa
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
, xclip ? null, xdotool ? null, dmenu ? null
|
, xclip ? null, xdotool ? null, dmenu ? null
|
||||||
, x11Support ? !stdenv.isDarwin
|
, x11Support ? !stdenv.isDarwin
|
||||||
, tomb
|
, tombPluginSupport ? false, tomb
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
@ -18,14 +18,19 @@ let
|
|||||||
owner = "roddhjav";
|
owner = "roddhjav";
|
||||||
repo = "pass-${p.name}";
|
repo = "pass-${p.name}";
|
||||||
inherit (p) rev sha256;
|
inherit (p) rev sha256;
|
||||||
})) [
|
}))
|
||||||
|
([
|
||||||
{ name = "import";
|
{ name = "import";
|
||||||
rev = "491935bd275f29ceac2b876b3a288011d1ce31e7"; sha256 = "02mbh05ab8h7kc30hz718d1d1vkjz43b96c7p0xnd92610d2q66q"; }
|
rev = "491935bd275f29ceac2b876b3a288011d1ce31e7";
|
||||||
|
sha256 = "02mbh05ab8h7kc30hz718d1d1vkjz43b96c7p0xnd92610d2q66q"; }
|
||||||
{ name = "update";
|
{ name = "update";
|
||||||
rev = "cf576c9036fd18efb9ed29e0e9f811207b556fde"; sha256 = "1hhbrg6a2walrvla6q4cd3pgrqbcrf9brzjkb748735shxfn52hd"; }
|
rev = "cf576c9036fd18efb9ed29e0e9f811207b556fde";
|
||||||
{ name = "tomb";
|
sha256 = "1hhbrg6a2walrvla6q4cd3pgrqbcrf9brzjkb748735shxfn52hd"; }
|
||||||
rev = "3368134898a42c1b758fabac625ec240e125c6be"; sha256 = "0qqmxfg4w3r088qhlkhs44036mya82vjflsjjhw2hk8y0wd2i6ds"; }
|
] ++ stdenv.lib.optional tombPluginSupport {
|
||||||
];
|
name = "tomb";
|
||||||
|
rev = "3368134898a42c1b758fabac625ec240e125c6be";
|
||||||
|
sha256 = "0qqmxfg4w3r088qhlkhs44036mya82vjflsjjhw2hk8y0wd2i6ds"; }
|
||||||
|
);
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
version = "1.7.1";
|
version = "1.7.1";
|
||||||
@ -69,8 +74,8 @@ in stdenv.mkDerivation rec {
|
|||||||
tree
|
tree
|
||||||
which
|
which
|
||||||
qrencode
|
qrencode
|
||||||
tomb
|
] ++ optional tombPluginSupport tomb
|
||||||
] ++ stdenv.lib.optional stdenv.isLinux procps
|
++ optional stdenv.isLinux procps
|
||||||
++ ifEnable x11Support [ dmenu xclip xdotool ]);
|
++ ifEnable x11Support [ dmenu xclip xdotool ]);
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user