2019-07-29 14:08:13 +02:00
|
|
|
{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, kwallet, }:
|
2016-08-10 16:01:47 +02:00
|
|
|
|
2017-05-15 18:44:58 +02:00
|
|
|
mkDerivation {
|
2016-08-10 16:01:47 +02:00
|
|
|
name = "kwallet-pam";
|
2017-02-26 13:49:15 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2019-07-29 14:08:13 +02:00
|
|
|
buildInputs = [ pam socat libgcrypt qtbase kwallet ];
|
2017-05-26 22:47:39 +02:00
|
|
|
postPatch = ''
|
|
|
|
sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|"
|
|
|
|
'';
|
2019-09-30 23:44:02 +02:00
|
|
|
postFixup = ''
|
|
|
|
wrapQtApp $out/libexec/pam_kwallet_init
|
|
|
|
'';
|
|
|
|
dontWrapQtApps = true;
|
2016-08-10 16:01:47 +02:00
|
|
|
}
|