krunner-pass: pass-otp has been deprecated
This commit is contained in:
parent
b685f44ef2
commit
3143de97f9
1 changed files with 18 additions and 6 deletions
|
@ -1,9 +1,17 @@
|
|||
{ mkDerivation, lib, fetchFromGitHub, fetchpatch, cmake, extra-cmake-modules
|
||||
, kauth, krunner
|
||||
, pass, pass-otp ? null }:
|
||||
{ mkDerivation
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
, kauth
|
||||
, krunner
|
||||
, pass
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "krunner-pass";
|
||||
# when upgrading the version, check if cmakeFlags is still needed
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -13,9 +21,10 @@ mkDerivation rec {
|
|||
sha256 = "032fs2174ls545kjixbhzyd65wgxkw4s5vg8b20irc5c9ak3pxm0";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
kauth krunner
|
||||
pass pass-otp
|
||||
buildInputs = [
|
||||
kauth
|
||||
krunner
|
||||
(pass.withExtensions (p: with p; [ pass-otp ]))
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||
|
@ -33,6 +42,9 @@ mkDerivation rec {
|
|||
''-DNIXPKGS_PASS=\"${lib.getBin pass}/bin/pass\"''
|
||||
];
|
||||
|
||||
# there are *lots* of pointless warnings in v1.3.0
|
||||
cmakeFlags = [ "-Wno-dev" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Integrates krunner with pass the unix standard password manager (https://www.passwordstore.org/)";
|
||||
homepage = "https://github.com/akermu/krunner-pass";
|
||||
|
|
Loading…
Reference in a new issue