summaryrefslogtreecommitdiff
path: root/gnu/packages/xml.scm
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2025-07-13 13:38:11 +0800
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:51 +0200
commit68714be8c7979210cf885552740da62a0910b12f (patch)
tree763bf6273ac3e51dcb8373df1fd62c216d681b79 /gnu/packages/xml.scm
parentfc3f57c380846dc4ed09bce5590ac8c312cd72f6 (diff)
gnu: Add python-lxml-4.9.
* gnu/packages/xml.scm (python-lxml-4.9): New variable. Change-Id: Iaadc8e600f812759c3028482e76a6390b8caa801
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r--gnu/packages/xml.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 9d54238f3a..e6c973428f 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1901,6 +1901,26 @@ because lxml.etree already has its own implementation of XPath 1.0.")
libxml2 and libxslt.")
(license license:bsd-3))) ; and a few more, see LICENSES.txt
+(define-public python-lxml-4.9
+ (hidden-package
+ (package
+ (inherit python-lxml)
+ (name "python-lxml")
+ (version "4.9.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "lxml" version))
+ (sha256
+ (base32 "03l86qr5xzvz0jcbk669sj8nbw1fjshmf0b7l83gl5cfnx81wm5i"))))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-gcc-14-strictness
+ (lambda _
+ (setenv "CFLAGS"
+ "-Wno-error=incompatible-pointer-types")))))))))
+
(define-deprecated python-lxml-4.7 python-lxml)
(export python-lxml-4.7)