summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dnie.scm37
1 files changed, 35 insertions, 2 deletions
diff --git a/dnie.scm b/dnie.scm
index 604b4d9..b268450 100644
--- a/dnie.scm
+++ b/dnie.scm
@@ -4,9 +4,11 @@
#:use-module (guix download)
#:use-module (gnu packages elf)
#:use-module (gnu packages gcc)
+ #:use-module (gnu packages pth)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages security-token)
#:use-module (guix build-system copy)
+ #:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:))
(define-public dnie-cert
@@ -45,6 +47,37 @@
"Copyright (C) 2010 Dirección General de Policía y de la Guardia Civil
All rights reserved."))))
+(define-public libassuan0
+ (package
+ (name "libassuan")
+ (version "2.5.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnupg/libassuan/libassuan-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "1r1lvcp67gn5lfrj1g388sd77ca6qwnmxndirdysd71gk362z34f"))))
+ (build-system gnu-build-system)
+ (arguments (if (%current-target-system)
+ (list #:configure-flags
+ #~(list (string-append
+ "--with-libgpg-error-prefix="
+ #$(this-package-input "libgpg-error"))))
+ '()))
+ (propagated-inputs
+ (list libgpg-error pth))
+ (home-page "https://gnupg.org")
+ (synopsis
+ "IPC library used by GnuPG and related software")
+ (description
+ "Libassuan is a small library implementing the so-called Assuan
+protocol. This protocol is used for IPC between most newer
+GnuPG components. Both, server and client side functions are
+provided.")
+ (license license:lgpl2.0+)))
+
(define-public libpkcs-dnie
(package
(name "libpkcs-dnie")
@@ -61,7 +94,7 @@ All rights reserved."))))
"028v4vv5c2lf5f9iv25838lymh3rsaxv4s9f94g61jn0n8w787c5"))))
(supported-systems (list "x86_64-linux"))
(build-system copy-build-system)
- (inputs (list libassuan libgpg-error patchelf pcsc-lite (list gcc "lib")))
+ (inputs (list libassuan0 libgpg-error patchelf pcsc-lite (list gcc "lib")))
(arguments
(list
#:phases
@@ -79,7 +112,7 @@ All rights reserved."))))
"--set-rpath" (string-join
(list
#$gcc:lib
- #$libassuan
+ #$libassuan0
#$libgpg-error
#$pcsc-lite
#$output)