From 17f3902886526703e3d4b65b0a63a9a4ce7b1169 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 27 Aug 2025 19:35:20 +0200 Subject: [PATCH] gnu: rest: Graft package propagating libxml2@2.14. * gnu/packages/gnome.scm (rest/fixed): Add package. (rest)[replacement]: Graft rest/fixed. Signed-off-by: Liliana Marie Prikler --- gnu/packages/gnome.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 9834bd25ce01457c906bfa4fb561e54ad05573c0..5f84bc82ec0475f472b1d3357d3865b420c6493f 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5061,6 +5061,7 @@ files.") (define-public rest (package + (replacement rest/fixed) (name "rest") (version "0.8.1") (source (origin @@ -5080,7 +5081,7 @@ files.") (list `(,glib "bin") gobject-introspection pkg-config)) (propagated-inputs ;; rest-0.7.pc refers to all these. - (list glib libsoup-minimal-2 libxml2-next)) + (list glib libsoup-minimal-2 libxml2)) (home-page "https://www.gtk.org/") (synopsis "RESTful web api query library") (description @@ -5089,6 +5090,13 @@ claim to be \"RESTful\". It includes convenience wrappers for libsoup and libxml to ease remote use of the RESTful API.") (license license:lgpl2.1+))) +(define-public rest/fixed + (package + (inherit rest) + (propagated-inputs + (modify-inputs (package-propagated-inputs rest) + (replace "libxml2" libxml2-next))))) + (define-public rest-next (package (inherit rest)