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.
This commit is contained in:
Ludovic Courtès 2020-12-03 12:24:36 +01:00
parent 1d0354332a
commit 720e87fe91
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 7 additions and 4 deletions

View file

@ -3406,7 +3406,7 @@ (define-public guile-semver
(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 @@ (define-public guile-semver
(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

View file

@ -55,7 +55,7 @@ (define specification->package
("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))