diff options
author | Zheng Junjie <z572@z572.online> | 2025-07-13 13:38:11 +0800 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:51 +0200 |
commit | 68714be8c7979210cf885552740da62a0910b12f (patch) | |
tree | 763bf6273ac3e51dcb8373df1fd62c216d681b79 | |
parent | fc3f57c380846dc4ed09bce5590ac8c312cd72f6 (diff) |
gnu: Add python-lxml-4.9.
* gnu/packages/xml.scm (python-lxml-4.9): New variable.
Change-Id: Iaadc8e600f812759c3028482e76a6390b8caa801
-rw-r--r-- | gnu/packages/xml.scm | 20 |
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) |