mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: sunxi-tools: Don't use unstable tarball.
* gnu/packages/admin.scm (sunxi-tools)[source]: Use GIT-FETCH and GIT-FILE-NAME.
This commit is contained in:
parent
ecb589227c
commit
43eb601f76
1 changed files with 6 additions and 5 deletions
|
@ -2206,11 +2206,12 @@ (define-public sunxi-tools
|
||||||
(version "1.4.2")
|
(version "1.4.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://github.com/linux-sunxi/"
|
(uri (git-reference
|
||||||
"sunxi-tools/archive/v" version ".tar.gz"))
|
(url "https://github.com/linux-sunxi/sunxi-tools.git")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "08iqwj95qw2s7ilhrdi2lkbc8dx64zk5lzz1qk587jr0lla81x41"))
|
(base32 "04f3jqg8ww4jxsf9c6ddcdgy2xbhkyp0b3l5f1hvvbv94p81rjxd"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
;; Remove binaries contained in the tarball which are only for the
|
;; Remove binaries contained in the tarball which are only for the
|
||||||
|
@ -2218,7 +2219,7 @@ (define-public sunxi-tools
|
||||||
'(begin
|
'(begin
|
||||||
(delete-file-recursively "bin")
|
(delete-file-recursively "bin")
|
||||||
#t))
|
#t))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))))
|
(file-name (git-file-name name version))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("cross-gcc" ,(cross-gcc "arm-linux-gnueabihf"
|
("cross-gcc" ,(cross-gcc "arm-linux-gnueabihf"
|
||||||
|
|
Loading…
Reference in a new issue