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 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3