[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/21: gnu: inxi: Use GIT-FETCH.
From: |
Tobias Geerinckx-Rice |
Subject: |
11/21: gnu: inxi: Use GIT-FETCH. |
Date: |
Wed, 6 Jun 2018 00:12:54 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit b740a30527737f66007ec0f77b11e39438a6baa7
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Wed Jun 6 03:20:08 2018 +0200
gnu: inxi: Use GIT-FETCH.
* gnu/packages/admin.scm (inxi)[source]: Use GIT-FETCH.
[native-inputs]: Remove tar.
[arguments]: Adjust accordingly.
---
gnu/packages/admin.scm | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 70dbaeb..7f2e067 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2655,10 +2655,10 @@ Python loading in HPC environments.")
(version "3.0.04-1")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/smxi/inxi"
- "/archive/" version "/inxi.tar.gz"))
- (file-name (string-append real-name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/smxi/inxi")
+ (commit version)))
(sha256
(base32
"14zxdsjgh9dbijmpp0hhvg2yiqqfwnqgcc6x8dpl1v15z1h1r7pc"))))
@@ -2667,8 +2667,7 @@ Python loading in HPC environments.")
`(("bash" ,bash)
("perl" ,perl)))
(native-inputs
- `(("gzip" ,gzip)
- ("tar" ,tar)))
+ `(("gzip" ,gzip)))
(arguments
`(#:modules
((guix build utils)
@@ -2682,9 +2681,9 @@ Python loading in HPC environments.")
(setenv "PATH" (string-append
(assoc-ref %build-inputs "bash") "/bin" ":"
(assoc-ref %build-inputs "gzip") "/bin" ":"
- (assoc-ref %build-inputs "perl") "/bin" ":"
- (assoc-ref %build-inputs "tar") "/bin" ":"))
- (invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
+ (assoc-ref %build-inputs "perl") "/bin" ":"))
+ (copy-recursively (assoc-ref %build-inputs "source")
+ ,(string-append real-name "-" version))
(with-directory-excursion ,(string-append real-name "-" version)
(with-fluids ((%default-port-encoding #f))
(substitute* "inxi" (("/usr/bin/env perl") (which "perl"))))
- 02/21: gnu: libwacom: Update to 0.30., (continued)
- 02/21: gnu: libwacom: Update to 0.30., Tobias Geerinckx-Rice, 2018/06/06
- 09/21: gnu: ruby-asciidoctor: Use HTTPS home page., Tobias Geerinckx-Rice, 2018/06/06
- 04/21: gnu: linkchecker: Update to 9.4.0., Tobias Geerinckx-Rice, 2018/06/06
- 10/21: gnu: inxi: Fix man page location., Tobias Geerinckx-Rice, 2018/06/06
- 07/21: gnu: ruby-eventmachine: Use working home page., Tobias Geerinckx-Rice, 2018/06/06
- 03/21: gnu: xf86-input-wacom: Update to 0.36.1., Tobias Geerinckx-Rice, 2018/06/06
- 08/21: gnu: ruby-asciidoctor: Update to 1.5.7.1., Tobias Geerinckx-Rice, 2018/06/06
- 12/21: gnu: inxi: Update to 3.0.11-1., Tobias Geerinckx-Rice, 2018/06/06
- 15/21: gnu: cfitsio: Update to 3.450., Tobias Geerinckx-Rice, 2018/06/06
- 18/21: gnu: python-lmdb: Update to 0.94., Tobias Geerinckx-Rice, 2018/06/06
- 11/21: gnu: inxi: Use GIT-FETCH.,
Tobias Geerinckx-Rice <=
- 16/21: gnu: tomb: Update to 2.5., Tobias Geerinckx-Rice, 2018/06/06
- 13/21: gnu: wcslib: Fix build., Tobias Geerinckx-Rice, 2018/06/06
- 20/21: gnu: linsmith: Update to 0.99.31., Tobias Geerinckx-Rice, 2018/06/06
- 14/21: gnu: gnuastro: Update to 0.6., Tobias Geerinckx-Rice, 2018/06/06
- 17/21: gnu: debootstrap: Update to 1.0.101., Tobias Geerinckx-Rice, 2018/06/06
- 19/21: gnu: linsmith: Use HTTPS home page., Tobias Geerinckx-Rice, 2018/06/06
- 21/21: gnu: gerbv: Update to 2.6.2., Tobias Geerinckx-Rice, 2018/06/06