2017-05-26 21:47:39 +01:00
|
|
|
{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, }:
|
2016-08-10 15:01:47 +01:00
|
|
|
|
2017-05-15 17:44:58 +01:00
|
|
|
mkDerivation {
|
2016-08-10 15:01:47 +01:00
|
|
|
name = "kwallet-pam";
|
|
|
|
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2017-05-26 21:47:39 +01:00
|
|
|
buildInputs = [ pam socat libgcrypt qtbase ];
|
|
|
|
postPatch = ''
|
|
|
|
sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|"
|
|
|
|
'';
|
2016-08-10 15:01:47 +01:00
|
|
|
}
|