[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
128/203: gnu: epipe: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
128/203: gnu: epipe: Don't use unstable tarball. |
Date: |
Wed, 10 Apr 2019 14:57:33 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 78b035ae203c0595c4cef302b3411b3d88a27bb6
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Mon Apr 8 23:33:45 2019 +0200
gnu: epipe: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (epipe)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
[native-inputs]: Remove tar and gzip.
[arguments]: Adjust builder.
---
gnu/packages/emacs-xyz.scm | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ac94266..1d2c9a0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8619,40 +8619,34 @@ Features:
(version "0.1.0")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/cute-jumper/epipe/archive/"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cute-jumper/epipe.git")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "05a036852g4j63k1mhvyfrcsgkl9lczayi7x61570ysw3cli5wp5"))))
+ (base32 "0lkisi1s7sn12nx8zh58qmsxwnk1rjwryj18wcbr148xqz3swg57"))))
(build-system trivial-build-system)
(inputs
`(("bash" ,bash)
("perl" ,perl)))
- (native-inputs
- `(("tar" ,tar)
- ("gzip" ,gzip)))
(arguments
`(#:modules
((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
- ;; Extract source
- (setenv "PATH" (string-append
- (assoc-ref %build-inputs "tar") "/bin" ":"
- (assoc-ref %build-inputs "gzip") "/bin"))
- (invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
- (chdir (string-append ,name "-" ,version))
- ;; Patch shebangs
+ ;; Extract source.
+ (copy-recursively (assoc-ref %build-inputs "source") "source")
+ (chdir "source")
+ ;; Patch shebangs.
(substitute* "epipe"
(("/usr/bin/env bash")
(string-append (assoc-ref %build-inputs "bash") "/bin/bash")))
(patch-shebang "epipe.pl"
(list (string-append (assoc-ref %build-inputs "perl")
"/bin")))
- ;; Installation
+ ;; Install.
(for-each (lambda (file)
(install-file file (string-append %output "/bin")))
'("epipe" "epipe.pl"))
- 115/203: gnu: emacs-gitpatch: Don't use unstable tarball., (continued)
- 115/203: gnu: emacs-gitpatch: Don't use unstable tarball., guix-commits, 2019/04/10
- 116/203: gnu: emacs-engine-mode: Don't use unstable tarball., guix-commits, 2019/04/10
- 118/203: gnu: emacs-itail: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 117/203: gnu: emacs-browse-at-remote: Don't use unstable tarball., guix-commits, 2019/04/10
- 119/203: gnu: emacs-transmission: Don't use unstable tarball., guix-commits, 2019/04/10
- 123/203: gnu: emacs-evil-matchit: Don't use unstable tarball., guix-commits, 2019/04/10
- 124/203: gnu: emacs-evil-smartparens: Don't use unstable tarball., guix-commits, 2019/04/10
- 126/203: gnu: emacs-websocket: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 127/203: gnu: emacs-bongo: Don't use unstable tarball., guix-commits, 2019/04/10
- 130/203: gnu: emacs-terraform-mode: Don't use unstable tarball., guix-commits, 2019/04/10
- 128/203: gnu: epipe: Don't use unstable tarball.,
guix-commits <=
- 129/203: gnu: emacs-hcl-mode: Don't use unstable tarball., guix-commits, 2019/04/10
- 131/203: gnu: emacs-anzu: Don't use unstable tarball., guix-commits, 2019/04/10
- 133/203: gnu: emacs-finalize: Don't use unstable tarball., guix-commits, 2019/04/10
- 134/203: gnu: emacs-elisp-slime-nav: Don't use unstable tarball., guix-commits, 2019/04/10
- 135/203: gnu: emacs-graphviz-dot-mode: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 144/203: gnu: emacs-elpy: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 138/203: gnu: emacs-string-inflection: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 148/203: gnu: emacs-danneskjold-theme: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 150/203: gnu: emacs-crux: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 146/203: gnu: emacs-evil: Use GIT-FILE-NAME., guix-commits, 2019/04/10