gnu: Deprecate the 'g-golf' variable.

g-golf now supports both Guile 3.0 and 2.2. Assign a new name to identify
the g-golf for different Guile version.

* gnu/packages/guile-xyz.scm (g-golf): Rename to guile-g-golf.
(g-golf): Define as deprecated by guile-g-golf.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Zhu Zihao 2022-02-03 22:35:10 +08:00 committed by Ludovic Courtès
parent 35c96e65a9
commit 694e317237
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1980,11 +1980,11 @@ (define-public guile-sly
(home-page "https://dthompson.us/projects/sly.html")
(license license:gpl3+)))
(define-public g-golf
(define-public guile-g-golf
(let ((commit "1824633d37da3794f349d6829e9dac2cf89adaa8")
(revision "1010"))
(package
(name "g-golf")
(name "guile-g-golf")
(version (git-version "0.1.0" revision commit))
(source
(origin
@ -2067,6 +2067,9 @@ (define (get lib)
object-oriented programming system, GOOPS.")
(license license:lgpl3+))))
(define-public g-golf
(deprecated-package "g-golf" guile-g-golf))
(define-public g-wrap
(package
(name "g-wrap")