@@ -327,12 +327,13 @@ (define-public shepherd-0.9
(inherit shepherd)
(version "0.9.2")
(source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/shepherd/shepherd-"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.savannah.gnu.org/git/shepherd.git/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name "shepherd" version))
(sha256
- (base32
- "0mcby3ygh3bpns44rb1vnk8bz2km4nlw092nrcgkm3nkqfmbp4p1"))
+ (base32 "1b16qc7zmm1cz45gspcbng4djz9jy8db4awfw63b2hvf9b396mv2"))
(modules '((guix build utils)))
(snippet
;; Avoid continuation barriers so (@ (fibers) sleep) can be
@@ -349,6 +350,7 @@ (define-public shepherd-0.9
#:make-flags #~'("GUILE_AUTO_COMPILE=0")
#:phases (if (%current-target-system)
#~(modify-phases %standard-phases
+ (delete 'strip) ; Warns when stripping .go files.
(add-before 'configure 'set-fibers-directory
(lambda _
;; When cross-compiling, refer to the target
@@ -363,8 +365,10 @@ (define-public shepherd-0.9
(this-package-input "guile-fibers")
"/lib/guile/3.0/site-ccache"))))))
#~%standard-phases)))
- (native-inputs (list pkg-config guile-3.0
- guile-fibers-1.1)) ;for cross-compilation
+ (native-inputs
+ (list autoconf automake gettext-minimal help2man texinfo pkg-config
+ guile-fibers-1.1 ; for cross-compilation
+ guile-3.0))
(inputs (list guile-3.0 guile-fibers-1.1))))
(define-public guile2.2-shepherd