mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: Add libp11.
* gnu/packages/tls.scm (libp11): New variable. Change-Id: I663b8a769887e66e6b5c4920ec67df94d9df1997
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages bash)
|
||||
#:use-module (gnu packages build-tools)
|
||||
#:use-module (gnu packages check)
|
||||
@@ -202,6 +203,43 @@ coordinating the use of PKCS#11 by different components or libraries
|
||||
living in the same process.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(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 #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-enginesdir
|
||||
(lambda _
|
||||
(substitute* "configure.ac"
|
||||
(("libcrypto`")
|
||||
(string-append "libcrypto | sed 's#.*/#"
|
||||
#$output "/lib/#'`"))))))))
|
||||
(native-inputs
|
||||
(list autoconf automake libtool pkg-config sed))
|
||||
(inputs
|
||||
(list openssl))
|
||||
(home-page "https://github.com/OpenSC/libp11")
|
||||
(synopsis "PKCS#11 wrapper library")
|
||||
(description
|
||||
"@code{libp11} is a library implementing a thin layer on top of PKCS#11
|
||||
API to make PKCS#11 implementations easier.")
|
||||
(license (list license:lgpl2.1+
|
||||
license:bsd-2
|
||||
license:openssl
|
||||
(license:fsf-free "file:///src/pkcs11.h")))))
|
||||
|
||||
(define-public gnutls
|
||||
(package
|
||||
(name "gnutls")
|
||||
|
||||
Reference in New Issue
Block a user