guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 49e2bbc6d8019006cd252517a5890962366d1ed4
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Sat Jul 26 09:29:03 2025 +0900

    gnu: Add libp11.
    
    * gnu/packages/security-token.scm (libp11): New variable.
    
    Change-Id: I9f4353509fb08df0cb02219a6412c7a294685891
---
 gnu/packages/security-token.scm | 39 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 38 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 1ce185ad07..b74b234ad3 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -20,7 +20,7 @@
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <[email protected]>
 ;;; Copyright © 2023 Jake Leporte <[email protected]>
 ;;; Copyright © 2023 Timotej Lazar <[email protected]>
-;;; Copyright © 2023 Maxim Cournoyer <[email protected]>
+;;; Copyright © 2023, 2025 Maxim Cournoyer <maximguixotic@coop>
 ;;; Copyright © 2023 Pierre Langlois <[email protected]>
 ;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
 ;;;
@@ -354,6 +354,43 @@ website for more information about Yubico and the 
YubiKey.")
     (home-page "https://developers.yubico.com/yubico-c-client/";)
     (license license:bsd-2)))
 
+(define-public libp11
+  (package
+    (name "libp11")
+    (version "0.4.16")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/OpenSC/libp11";)
+                    (commit (string-append "libp11-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0sjd3jxpyp61d85n4drmw9rf3bh7hwhrplr5nw6lmcpr2xr4gqds"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:configure-flags
+           #~(list "--disable-static"
+                   (string-append "--with-enginesdir="
+                                     #$output "/lib/engines-3")
+                   (string-append "--with-modulesdir="
+                                  #$output "/lib/ossl-modules"))))
+    (native-inputs (list autoconf automake libtool pkg-config))
+    (inputs (list openssl))
+    (home-page "https://github.com/OpenSC/libp11";)
+    (synopsis "PKCS#11 wrapper library")
+    (description "This package provides two libraries:
+@table @code
+@item libp11
+provides a higher-level (compared to the PKCS#11 library) interface to access
+PKCS#11 objects.  It is designed to integrate with applications that use
+OpenSSL.
+@item pkcs11prov
+OpenSSL provider module that allows accessing PKCS#11 modules in a
+semi-transparent way.
+@end table")
+    (license license:lgpl2.1+)))
+
 (define-public opensc
   (package
     (name "opensc")

Reply via email to