summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2015-05-24 22:55:32 +0200
committerAndreas Enge <andreas@enge.fr>2015-05-24 22:55:32 +0200
commit0899144f797b5a660bee17427a7d07d70ba89bc4 (patch)
tree6cc0edf39e892b7354386bb8069b38222b0ef9ac
parent0c09a306e59e2feec9818335b0b4f3355c02f420 (diff)
gnu: Add xmlsec.
* gnu/packages/xml.scm (xmlsec): New variable.
-rw-r--r--gnu/packages/xml.scm33
1 files changed, 32 insertions, 1 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index d30c40ce1a4..8a4d2fbb5b0 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1,6 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> 3;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
4;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> 4;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
5;;; 5;;;
6;;; This file is part of GNU Guix. 6;;; This file is part of GNU Guix.
@@ -20,8 +20,10 @@
20 20
21(define-module (gnu packages xml) 21(define-module (gnu packages xml)
22 #:use-module (gnu packages) 22 #:use-module (gnu packages)
23 #:use-module (gnu packages autotools)
23 #:use-module (gnu packages compression) 24 #:use-module (gnu packages compression)
24 #:use-module (gnu packages gnupg) 25 #:use-module (gnu packages gnupg)
26 #:use-module (gnu packages gnutls)
25 #:use-module (gnu packages perl) 27 #:use-module (gnu packages perl)
26 #:use-module (gnu packages python) 28 #:use-module (gnu packages python)
27 #:use-module (gnu packages web) 29 #:use-module (gnu packages web)
@@ -387,3 +389,32 @@ that conforms to the API of the Document Object Model.")
387stylesheet for the conversion you want and applies it using an external 389stylesheet for the conversion you want and applies it using an external
388XSL-T processor. It also performs any necessary post-processing.") 390XSL-T processor. It also performs any necessary post-processing.")
389 (license license:gpl2+))) 391 (license license:gpl2+)))
392
393(define-public xmlsec
394 (package
395 (name "xmlsec")
396 (version "1.2.20")
397 (source (origin
398 (method url-fetch)
399 (uri (string-append "https://www.aleksey.com/xmlsec/download/"
400 name "1-" version ".tar.gz"))
401 (sha256
402 (base32
403 "01bkbv2y3x8d1sf4dcln1x3y2jyj391s3208d9a2ndhglly5j89j"))))
404 (build-system gnu-build-system)
405 (propagated-inputs ; according to xmlsec1.pc
406 `(("libxml2" ,libxml2)
407 ("libxslt" ,libxslt)))
408 (inputs
409 `(("gnutls" ,gnutls)
410 ("libgcrypt" ,libgcrypt)
411 ("libltdl" ,libltdl)))
412 (home-page "http://www.libexpat.org/")
413 (synopsis "XML Security Library")
414 (description
415 "The XML Security Library is a C library based on Libxml2. It
416supports XML security standards such as XML Signature, XML Encryption,
417Canonical XML (part of Libxml2) and Exclusive Canonical XML (part of
418Libxml2).")
419 (license (license:x11-style "file://COPYING"
420 "See 'COPYING' in the distribution."))))