diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-03 12:24:36 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-03 13:48:53 +0100 |
commit | 720e87fe9194cebf52be182d22678e7a78d67130 (patch) | |
tree | 6582bbfafe2d1b27c44e1b2dda0db364dd83f160 | |
parent | 1d0354332a0629bd64a937a027b3d323d3ee5a6e (diff) | |
download | guix-720e87fe9194cebf52be182d22678e7a78d67130.tar guix-720e87fe9194cebf52be182d22678e7a78d67130.tar.gz |
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.
-rw-r--r-- | gnu/packages/guile-xyz.scm | 9 | ||||
-rw-r--r-- | 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 8285928b3c..32c6d9c098 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 6e55c7471a..e510596d96 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)) |