nixpkgs/pkgs/desktops/plasma-5/kwallet-pam.nix

15 lines
417 B
Nix
Raw Normal View History

{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, kwallet, }:
2016-08-10 16:01:47 +02:00
mkDerivation {
2016-08-10 16:01:47 +02:00
name = "kwallet-pam";
nativeBuildInputs = [ extra-cmake-modules ];
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|"
'';
postFixup = ''
wrapQtApp $out/libexec/pam_kwallet_init
'';
dontWrapQtApps = true;
2016-08-10 16:01:47 +02:00
}