[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: guile-git: Switch to 'git-fetch'.
From: |
guix-commits |
Subject: |
03/03: gnu: guile-git: Switch to 'git-fetch'. |
Date: |
Fri, 16 Apr 2021 17:31:06 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7a6625e83f68f6408ff0a82b12e7a95c6b0cc096
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Tue Apr 13 21:22:44 2021 +0200
gnu: guile-git: Switch to 'git-fetch'.
* gnu/packages/guile.scm (guile-git)[source]: Use ‘git-fetch’ instead of
‘url-fetch’.
[native-inputs]: Add autoconf, automake, and texinfo.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/guile.scm | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 813639e..1616991 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -779,18 +779,22 @@ type system, elevating types to first-class status.")
(version "0.5.0")
(home-page "https://gitlab.com/guile-git/guile-git.git")
(source (origin
- (method url-fetch)
- (uri (string-append
"https://gitlab.com/guile-git/guile-git/uploads/"
- "30be542d90619ca844dd3a3ed2e13808/guile-git-"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1j39c1cq9cbwir90mpnbdijpbwh7wkxampgl2r177bv8bfw6y203"))))
+ "1hqw3jy81cnsgybsbnfvwvhv1bajwq662hikkrr6dcgky6yspsxx"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings
(native-inputs
`(("pkg-config" ,pkg-config)
+ ("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("texinfo" ,texinfo)
("guile" ,guile-3.0)
("guile-bytestructures" ,guile-bytestructures)))
(inputs