[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25736: [PATCH 1/6] gnu: Add python-defusedxml.
From: |
contact . ng0 |
Subject: |
bug#25736: [PATCH 1/6] gnu: Add python-defusedxml. |
Date: |
Wed, 15 Feb 2017 10:09:22 +0000 |
From: ng0 <address@hidden>
* gnu/packages/xml.scm (python-defusedxml): New variable.
---
gnu/packages/xml.scm | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 32b658489..8ee46ff71 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -11,7 +11,7 @@
;;; Copyright © 2016 Leo Famulari <address@hidden>
;;; Copyright © 2016 Ben Woodcroft <address@hidden>
;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
-;;; Copyright © 2016 ng0 <address@hidden>
+;;; Copyright © 2016, 2017 ng0 <address@hidden>
;;; Copyright © 2016 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2016 Marius Bakke <address@hidden>
;;;
@@ -1027,3 +1027,24 @@ XSLT and EXSLT.")
XLSM) format spreadsheets into plaintext @dfn{comma separated values} (CSV)
files. It is designed to be fast and to handle large input files.")
(license license:gpl2+)))
+
+(define-public python-defusedxml
+ (package
+ (name "python-defusedxml")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "defusedxml" version))
+ (sha256
+ (base32
+ "0y147zy3jqmk6ly7fbhqmzn1hf41xcb53f2vcc3m8x4ba5d1smfd"))))
+ (build-system python-build-system)
+ (home-page "https://bitbucket.org/tiran/defusedxml")
+ (synopsis "XML bomb protection for Python stdlib modules")
+ (description
+ "Defusedxml provides XML bomb protection for Python stdlib modules.")
+ (license license:psfl)))
+
+(define-public python2-defusedxml
+ (package-with-python2 python-defusedxml))
--
2.11.1
- bug#25736: postorius (mailman), ng0, 2017/02/15
- bug#25736: [PATCH 1/6] gnu: Add python-defusedxml.,
contact . ng0 <=
- bug#25736: [PATCH 3/6] gnu: Add python-django-allauth., contact . ng0, 2017/02/15
- bug#25736: [PATCH 2/6] gnu: Add python-openid., contact . ng0, 2017/02/15
- bug#25736: [PATCH 5/6] gnu: Add python-django-mailman3., contact . ng0, 2017/02/15
- bug#25736: [PATCH 4/6] gnu: Add python-django-gravatar2., contact . ng0, 2017/02/15
- bug#25736: [PATCH 6/6] gnu: Add postorius., contact . ng0, 2017/02/15