~ruther/guix-local

a77f4fb279b96f2707b475531b60ca36417bde69 — Ricardo Wurmus 4 months ago 429e417
gnu: Add libxml2-with-zlib.

* gnu/packages/xml.scm (libxml2-with-zlib): New variable.

Change-Id: I2cc59d8f0758b4caf6f35dedabc9ee66f41ca11c
1 files changed, 12 insertions(+), 0 deletions(-)

M gnu/packages/xml.scm
M gnu/packages/xml.scm => gnu/packages/xml.scm +12 -0
@@ 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)