[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
120/203: gnu: eless: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
120/203: gnu: eless: Don't use unstable tarball. |
Date: |
Wed, 10 Apr 2019 14:57:31 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 9ee1b41908f2e303083f061f629d7041b59c5251
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Mon Apr 8 23:32:03 2019 +0200
gnu: eless: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (eless)[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 dad21a0..c99e90b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8259,31 +8259,25 @@ for external literate programming tools for exporting,
weaving and tangling.")
(package
(name "eless")
(version "0.3")
- (source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/kaushalmodi/eless/archive/"
- "v" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0gjnnhgw5xs1w3qfnkvwa2nv44gnxr8pkhx3c7qig45p8nh1461h"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kaushalmodi/eless.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jr7vhh4vw69llhi0fh9ljscljkszkj0acdxl04da5hvqv6pnqbb"))))
(build-system trivial-build-system)
(inputs
`(("bash" ,bash)))
- (native-inputs
- `(("tar" ,tar)
- ("gzip" ,gzip)))
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
- (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 "eless" "-" ,version))
+ (copy-recursively (assoc-ref %build-inputs "source") "source")
+ (chdir "source")
(substitute* "eless" (("/usr/bin/env bash")
(string-append (assoc-ref %build-inputs "bash")
"/bin/bash")))
- 69/203: gnu: emacs-python-environment: Don't use unstable tarball., (continued)
- 69/203: gnu: emacs-python-environment: Don't use unstable tarball., guix-commits, 2019/04/10
- 75/203: gnu: emacs-nginx-mode: Don't use unstable tarball., guix-commits, 2019/04/10
- 101/203: gnu: emacs-ansi: Don't use unstable tarball., guix-commits, 2019/04/10
- 72/203: gnu: emacs-helm-swoop: Don't use unstable tarball., guix-commits, 2019/04/10
- 90/203: gnu: emacs-cnfonts: Don't use unstable tarball., guix-commits, 2019/04/10
- 91/203: gnu: emacs-kv: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 96/203: gnu: emacs-undo-tree: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 111/203: gnu: emacs-org-mind-map: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 112/203: gnu: emacs-tree-mode: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 121/203: gnu: emacs-yasnippet-snippets: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 120/203: gnu: eless: Don't use unstable tarball.,
guix-commits <=
- 122/203: gnu: emacs-mocker: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 125/203: gnu: emacs-evil-quickscope: Don't use unstable tarball., guix-commits, 2019/04/10
- 143/203: gnu: emacs-highlight-indentation: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 147/203: gnu: emacs-evil-collection: Use GIT-FILE-NAME., guix-commits, 2019/04/10
- 74/203: gnu: emacs-monroe: Don't use unstable tarball., guix-commits, 2019/04/10
- 76/203: gnu: emacs-ht: Don't use unstable tarball., guix-commits, 2019/04/10
- 86/203: gnu: emacs-diminish: Don't use unstable tarball., guix-commits, 2019/04/10
- 88/203: gnu: emacs-xmlgen: Don't use unstable tarball., guix-commits, 2019/04/10
- 73/203: gnu: emacs-helm-projectile: Don't use unstable tarball., guix-commits, 2019/04/10
- 102/203: gnu: emacs-commander: Don't use unstable tarball., guix-commits, 2019/04/10