diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-11-11 13:03:32 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2025-11-13 11:16:18 +0100 |
| commit | a77f4fb279b96f2707b475531b60ca36417bde69 (patch) | |
| tree | 51ad694e7674561aba25ded5cd224817cd55969f /gnu/packages/xml.scm | |
| parent | 429e41739ce97acab68e70cdf0524a96cb26fda3 (diff) | |
gnu: Add libxml2-with-zlib.
* gnu/packages/xml.scm (libxml2-with-zlib): New variable.
Change-Id: I2cc59d8f0758b4caf6f35dedabc9ee66f41ca11c
Diffstat (limited to 'gnu/packages/xml.scm')
| -rw-r--r-- | gnu/packages/xml.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 4315389e2f4..f5552c13529 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -283,6 +283,18 @@ project (but it is usable outside of the Gnome platform).") (base32 "17w0a622466k2hi5nln276la6rzfr9xaip3lqj71hmyvxyhmf0bq"))))))) +;; We need this for r-xml, which claims to support parsing gzipped XML files. +;; This depends on the zlib feature, which is deprecated and will be removed +;; in future releases of libxml2. +(define-public libxml2-with-zlib + (hidden-package + (package + (inherit libxml2) + (arguments + (substitute-keyword-arguments (package-arguments libxml2) + ((#:configure-flags flags #~'()) + #~(cons "--with-zlib" #$flags))))))) + (define-deprecated-package python-libxml2 libxml2) |
