guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/14: gnu: Deprecate the 'g-golf' variable.


From: guix-commits
Subject: 07/14: gnu: Deprecate the 'g-golf' variable.
Date: Tue, 8 Feb 2022 07:36:51 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 694e31723788d811d026a047c9dea8e0d735362c
Author: Zhu Zihao <all_but_last@163.com>
AuthorDate: Thu Feb 3 22:35:10 2022 +0800

    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>
---
 gnu/packages/guile-xyz.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 1e8784e18f..b09bacb9b6 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1980,11 +1980,11 @@ capabilities.")
     (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 @@ libraries and making GObject classes (and methods) 
available in Guile's
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]