guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/14: gnu: guile-semver: Switch to Guile 3.0.


From: guix-commits
Subject: 01/14: gnu: guile-semver: Switch to Guile 3.0.
Date: Thu, 3 Dec 2020 10:25:19 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 720e87fe9194cebf52be182d22678e7a78d67130
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Dec 3 12:24:36 2020 +0100

    gnu: guile-semver: Switch to Guile 3.0.
    
    * gnu/packages/guile-xyz.scm (guile-semver)[inputs]: Use GUILE-3.0.
    (guile3.0-semver): Define in terms of 'deprecated-package'.
    (guile2.2-semver): New variable.
---
 gnu/packages/guile-xyz.scm | 9 ++++++---
 guix/self.scm              | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 8285928..32c6d9c 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3406,7 +3406,7 @@ tests being run, resulting clearer and more specific 
output.")
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs
-     `(("guile" ,guile-2.2)))
+     `(("guile" ,guile-3.0)))
     (home-page "https://ngyro.com/software/guile-semver.html";)
     (synopsis "Semantic Versioning (SemVer) for Guile")
     (description "This Guile library provides tools for reading,
@@ -3415,11 +3415,14 @@ the style of the Node Package Manager (NPM).")
     (license license:gpl3+)))
 
 (define-public guile3.0-semver
+  (deprecated-package "guile3.0-semver" guile-semver))
+
+(define-public guile2.2-semver
   (package
     (inherit guile-semver)
-    (name "guile3.0-semver")
+    (name "guile2.2-semver")
     (inputs
-     `(("guile" ,guile-3.0)))))
+     `(("guile" ,guile-2.2)))))
 
 (define-public guile-hashing
   (package
diff --git a/guix/self.scm b/guix/self.scm
index 6e55c74..e510596 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -55,7 +55,7 @@
       ("guile-json" (ref '(gnu packages guile) 'guile-json-4))
       ("guile-ssh"  (ref '(gnu packages ssh)   'guile-ssh))
       ("guile-git"  (ref '(gnu packages guile) 'guile-git))
-      ("guile-semver"  (ref '(gnu packages guile-xyz) 'guile3.0-semver))
+      ("guile-semver"  (ref '(gnu packages guile-xyz) 'guile-semver))
       ("guile-sqlite3" (ref '(gnu packages guile) 'guile-sqlite3))
       ("guile-zlib" (ref '(gnu packages guile) 'guile-zlib))
       ("guile-lzlib" (ref '(gnu packages guile) 'guile-lzlib))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]