[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/38: gnu: sunxi-tools: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
17/38: gnu: sunxi-tools: Don't use unstable tarball. |
Date: |
Fri, 8 Feb 2019 18:02:32 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 43eb601f76b167f487a819c2ad4b01b0f9c29dab
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sun Dec 23 10:41:22 2018 +0100
gnu: sunxi-tools: Don't use unstable tarball.
* gnu/packages/admin.scm (sunxi-tools)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
---
gnu/packages/admin.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 721d2c1..f6b70ca 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2206,11 +2206,12 @@ Kerberos and Heimdal and FAST is supported with recent
MIT Kerberos.")
(version "1.4.2")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/linux-sunxi/"
- "sunxi-tools/archive/v" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/linux-sunxi/sunxi-tools.git")
+ (commit (string-append "v" version))))
(sha256
- (base32 "08iqwj95qw2s7ilhrdi2lkbc8dx64zk5lzz1qk587jr0lla81x41"))
+ (base32 "04f3jqg8ww4jxsf9c6ddcdgy2xbhkyp0b3l5f1hvvbv94p81rjxd"))
(modules '((guix build utils)))
(snippet
;; Remove binaries contained in the tarball which are only for the
@@ -2218,7 +2219,7 @@ Kerberos and Heimdal and FAST is supported with recent
MIT Kerberos.")
'(begin
(delete-file-recursively "bin")
#t))
- (file-name (string-append name "-" version ".tar.gz"))))
+ (file-name (git-file-name name version))))
(native-inputs
`(("pkg-config" ,pkg-config)
("cross-gcc" ,(cross-gcc "arm-linux-gnueabihf"
- 18/38: gnu: dstat: Don't use unstable tarball., (continued)
- 18/38: gnu: dstat: Don't use unstable tarball., guix-commits, 2019/02/08
- 20/38: gnu: cpulimit: Don't use unstable tarball., guix-commits, 2019/02/08
- 15/38: gnu: daemontools: Don't assume sources match NAME., guix-commits, 2019/02/08
- 22/38: gnu: sedsed: Don't use unstable tarball., guix-commits, 2019/02/08
- 24/38: gnu: cbatticon: Don't use unstable tarball., guix-commits, 2019/02/08
- 23/38: gnu: interrobang: Use GIT-... helpers., guix-commits, 2019/02/08
- 34/38: gnu: gcab: Update to 1.2., guix-commits, 2019/02/08
- 28/38: gnu: microscheme: Don't use unstable tarball., guix-commits, 2019/02/08
- 33/38: gnu: libraw: Update to 0.19.2., guix-commits, 2019/02/08
- 29/38: gnu: bspwm: Don't use unstable tarball., guix-commits, 2019/02/08
- 17/38: gnu: sunxi-tools: Don't use unstable tarball.,
guix-commits <=
- 31/38: gnu: rdesktop: Don't use NAME in source URI., guix-commits, 2019/02/08
- 36/38: gnu: perl-compress-raw-bzip2: Update to 2.084., guix-commits, 2019/02/08
- 35/38: gnu: gcab: Don't use NAME in source URI., guix-commits, 2019/02/08
- 25/38: gnu: ledger: Don't use unstable tarball., guix-commits, 2019/02/08
- 27/38: gnu: python-trezor-agent: Don't use unstable tarball., guix-commits, 2019/02/08
- 26/38: gnu: geierlein: Don't use unstable tarball., guix-commits, 2019/02/08