summary refs log tree commit diff
path: root/gnu/packages/guile-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-05-12 00:31:05 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-05-12 01:04:27 +0200
commitb01a73b02955f80c6e1d950a13f50ab0745d020b (patch)
treedce6f136b40bf66b16461f8754f87c2675fb9bbf /gnu/packages/guile-xyz.scm
parenteef5458387ae1919324adba09a00cfede6afd667 (diff)
downloadguix-b01a73b02955f80c6e1d950a13f50ab0745d020b.tar.gz
gnu: guile-ncurses: Build with Guile 3.0.
* gnu/packages/guile-xyz.scm (guile-ncurses)[inputs]: Replace guile-2.2 with
guile-3.0.
(guile3.0-ncurses): Deprecate in favor of guile-ncurses.
(guile2.2-ncurses): New variable.
Diffstat (limited to 'gnu/packages/guile-xyz.scm')
-rw-r--r--gnu/packages/guile-xyz.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 4ee3a211fe..b864cdb857 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1878,7 +1878,7 @@ many readers as needed).")
                "038xbffalhymg26lvmzgf7ljilxz2f2zmqg5r5nfzbipfbprwjhf"))))
     (build-system gnu-build-system)
     (inputs `(("ncurses" ,ncurses)
-              ("guile" ,guile-2.2)))
+              ("guile" ,guile-3.0)))
     (native-inputs `(("pkg-config" ,pkg-config)))
     (arguments
      `(#:modules ((guix build gnu-build-system)
@@ -1912,13 +1912,15 @@ many readers as needed).")
 library.")
     (license license:lgpl3+)))
 
-(define-public guile3.0-ncurses
+(define-public guile2.2-ncurses
   (package
     (inherit guile-ncurses)
-    (name "guile3.0-ncurses")
-    (version "3.0")
+    (name "guile2.2-ncurses")
     (inputs `(("ncurses" ,ncurses)
-              ("guile" ,guile-3.0)))))
+              ("guile" ,guile-2.2)))))
+
+(define-public guile3.0-ncurses
+  (deprecated-package "guile3.0-ncurses" guile-ncurses))
 
 (define-public guile-ncurses/gpm
   (package