summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/xml.scm22
1 files changed, 16 insertions, 6 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index d0f92bfbc9f..6e730cfab4a 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1511,18 +1511,28 @@ files. It is designed to be fast and to handle large input files.")
1511(define-public python-defusedxml 1511(define-public python-defusedxml
1512 (package 1512 (package
1513 (name "python-defusedxml") 1513 (name "python-defusedxml")
1514 (version "0.7.1") 1514 (properties '((commit . "c7445887f5e1bcea470a16f61369d29870cfcfe1")
1515 (revision . "0")))
1516 (version (git-version "0.7.1"
1517 (assoc-ref properties 'revision)
1518 (assoc-ref properties 'commit)))
1515 (source 1519 (source
1516 (origin 1520 (origin
1517 (method url-fetch) 1521 (method git-fetch)
1518 (uri (pypi-uri "defusedxml" version)) 1522 (uri (git-reference
1523 (url "https://github.com/tiran/defusedxml")
1524 (commit (assoc-ref properties 'commit))))
1525 (file-name (git-file-name name version))
1519 (sha256 1526 (sha256
1520 (base32 "0s9ym98jrd819v4arv9gmcr6mgljhxd9q866sxi5p4c5n4nh7cqv")))) 1527 (base32 "08926fginj14ahbym34va7rawfvnqq46hbfx33g66rw5lajcl4yq"))))
1521 (build-system pyproject-build-system) 1528 (build-system pyproject-build-system)
1529 (arguments
1530 (list
1531 #:test-backend #~'custom
1532 #:test-flags #~(list "tests.py")))
1522 (home-page "https://github.com/tiran/defusedxml") 1533 (home-page "https://github.com/tiran/defusedxml")
1523 (native-inputs 1534 (native-inputs
1524 (list python-setuptools 1535 (list python-setuptools))
1525 python-wheel))
1526 (synopsis "XML bomb protection for Python stdlib modules") 1536 (synopsis "XML bomb protection for Python stdlib modules")
1527 (description 1537 (description
1528 "Defusedxml provides XML bomb protection for Python stdlib modules.") 1538 "Defusedxml provides XML bomb protection for Python stdlib modules.")