From 720e87fe9194cebf52be182d22678e7a78d67130 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 3 Dec 2020 12:24:36 +0100 Subject: 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 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)) -- cgit v1.2.3