summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-01-23 11:15:39 +0100
committerLudovic Courtès <ludo@gnu.org>2020-01-23 11:26:55 +0100
commit46378df05010f3f9f54fe7d0f3a17c1abc238166 (patch)
treeab741d1baf4d6830a290245e389a4085634f9518
parente4dbe0cd2e5645f3ae86b004c05fe20b06cb47fe (diff)
downloadguix-46378df05010f3f9f54fe7d0f3a17c1abc238166.tar.gz
gnu: guile-rsvg: Add "guile3.0-rsvg" variant.
* gnu/packages/gtk.scm (guile3.0-rsvg): New variable.
-rw-r--r--gnu/packages/gtk.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 6f7344c6e3..93e90fa450 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -924,6 +924,17 @@ images onto Cairo surfaces.")
       (home-page "http://wingolog.org/projects/guile-rsvg/")
       (license license:lgpl2.1+))))
 
+(define-public guile3.0-rsvg
+  (package
+    (inherit guile-rsvg)
+    (name "guile3.0-rsvg")
+    (inputs
+     `(("guile" ,guile-3.0)
+       ("guile-lib" ,guile3.0-lib)
+       ,@(fold alist-delete (package-inputs guile-rsvg)
+               '("guile" "guile-lib"))))
+    (propagated-inputs `(("guile-cairo" ,guile3.0-cairo)))))
+
 (define-public guile-present
   (package
     (name "guile-present")