guix-commits
[Top][All Lists]
Advanced

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

01/07: gnu: shepherd: Add 0.9.0rc1.


From: guix-commits
Subject: 01/07: gnu: shepherd: Add 0.9.0rc1.
Date: Wed, 30 Mar 2022 15:46:16 -0400 (EDT)

civodul pushed a commit to branch wip-shepherd-upgrade
in repository guix.

commit 236e54be8a51f0126bc4153e5d8c06d24f16c76a
Author: Ludovic Court├Ęs <ludo@gnu.org>
AuthorDate: Wed Mar 30 17:14:45 2022 +0200

    gnu: shepherd: Add 0.9.0rc1.
    
    * gnu/packages/admin.scm (shepherd): Rename to...
    (shepherd-0.8): ... this.  New variable.
    (shepherd): Define as an alias for SHEPHERD-0.8.
    (shepherd-0.9): New variable.
    (guile2.2-shepherd): Inherit from SHEPHERD-0.9 and adjust inputs
    accordingly.
---
 gnu/packages/admin.scm | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 512361cef6..66b537d382 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -109,6 +109,7 @@
   #:use-module (gnu packages groff)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages guile-xyz)
   #:use-module (gnu packages hurd)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
@@ -266,7 +267,7 @@ the percentage of copied data.  It can also show estimated 
time and throughput,
 and provides a \"top-like\" mode (monitoring).")
     (license license:gpl3+)))
 
-(define-public shepherd
+(define-public shepherd-0.8
   (package
     (name "shepherd")
     (version "0.8.1")
@@ -307,14 +308,29 @@ interface and is based on GNU Guile.")
     (license license:gpl3+)
     (home-page "https://www.gnu.org/software/shepherd/";)))
 
-(define-public guile2.2-shepherd
+;; Update on the next rebuild cycle.
+(define-public shepherd shepherd-0.8)
+
+(define-public shepherd-0.9
   (package
     (inherit shepherd)
+    (version "0.9.0rc1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append 
"https://alpha.gnu.org/gnu/shepherd/shepherd-";
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0drw1h9janif7i4yd2l2cmx8hb573q1mbf089l6cm7shsawdnz3b"))))
+    (native-inputs (list pkg-config guile-3.0))
+    (inputs (list guile-3.0 guile-fibers-1.1))))
+
+(define-public guile2.2-shepherd
+  (package
+    (inherit shepherd-0.9)
     (name "guile2.2-shepherd")
-    (native-inputs
-     (list pkg-config guile-2.2))
-    (inputs
-     (list guile-2.2 guile2.2-readline))))
+    (native-inputs (list pkg-config guile-2.2))
+    (inputs (list guile-2.2 guile2.2-fibers))))
 
 (define-public guile2.0-shepherd
   (package



reply via email to

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