Verified Commit 830d90eb authored by Hartmut Goebel's avatar Hartmut Goebel
Browse files

gnu: Add kwallet-pam.

* gnu/packages/kde-plasma.scm(kwallet-pam): New variable.
parent 5490f5cb
...@@ -26,8 +26,10 @@ ...@@ -26,8 +26,10 @@
#:use-module (gnu packages freedesktop) #:use-module (gnu packages freedesktop)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages gnome) #:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages kde-frameworks) #:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages networking)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
#:use-module (gnu packages xorg)) #:use-module (gnu packages xorg))
...@@ -463,3 +465,40 @@ farms. ...@@ -463,3 +465,40 @@ farms.
Currently the daemon has been ported to Linux, FreeBSD, Irix, Currently the daemon has been ported to Linux, FreeBSD, Irix,
NetBSD, OpenBSD, Solaris and Tru64 with varying degrees of completion.") NetBSD, OpenBSD, Solaris and Tru64 with varying degrees of completion.")
(license (list license:gpl2 license:gpl2+ license:gpl3)))) ;; KDE e.V. (license (list license:gpl2 license:gpl2+ license:gpl3)))) ;; KDE e.V.
(define-public kwallet-pam
(package
(name "kwallet-pam")
(version "5.13.5")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/plasma/" version
"/kwallet-pam-" version ".tar.xz"))
(sha256
(base32 "145daahh8qjpbfcvjk2zyd6k3sr22npgnv3n23j9aim75qiwz1ac"))))
(properties `((tags . '("Desktop" "KDE" "Plasma"))))
(build-system cmake-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
`(("libgcrypt" ,libgcrypt)
("pam" ,linux-pam)
("socat" ,socat)))
(home-page "https://cgit.kde.org/kwallet-pam.git")
(synopsis "PAM module for KWallet")
(description "KWallet (KDE Frameworks 5) integration with PAM")
(license license:lgpl2.1+)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment