From 8e385673537fcb5b574465d83b98b5fdfc508a8a Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sat, 30 Nov 2019 12:45:57 +0100 Subject: gnu: Add kwallet-pam. * gnu/packages/kde-plasma.scm (kwallet-pam): New variable. --- gnu/packages/kde-plasma.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index 6cf9f34092..bcb00d1864 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -532,6 +532,43 @@ Currently the daemon has been ported to Linux, FreeBSD, Irix, NetBSD, OpenBSD, Solaris and Tru64 with varying degrees of completion.") (license (list license:gpl2 license:gpl2+ license:gpl3)))) ;; KDE e.V. +(define-public kwallet-pam + (package + (name "kwallet-pam") + (version "5.19.5") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/plasma/" version + "/kwallet-pam-" version ".tar.xz")) + (sha256 + (base32 "0vwilwji3zvygahbp56h64v508gms2qg5nvh518v70jbcnbyv2kq")))) + (build-system qt-build-system) + (arguments + `(#:tests? #f ;; no make target 'test' + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-socat-path + (lambda* (#:key inputs #:allow-other-keys) + ;; Always install into /lib and not into /lib64. + (substitute* "pam_kwallet_init" + ((" socat ") + (string-append " " (assoc-ref inputs "socat") + "/bin/socat "))) + #t))))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("kwallet" ,kwallet) + ("libgcrypt" ,libgcrypt) + ("pam" ,linux-pam) + ("qtbase" ,qtbase) + ("socat" ,socat))) + (home-page "https://invent.kde.org/plasma/kwallet-pam") + (synopsis "PAM module for KWallet") + (description "KWallet (KDE Frameworks 5) integration with PAM") + (license license:lgpl2.1+))) + (define-public kwayland-integration (package (name "kwayland-integration") -- cgit 1.4.1