gnu: es: Use URL-FETCH/TARBOMB.
* gnu/packages/shells.scm (es)[source]: Use URL-FETCH/TARBOMB to let us… [arguments]: …delete the ad-hoc 're-enter-rootdir phase.
This commit is contained in:
parent
3dab424a3d
commit
171964da5b
|
@ -363,7 +363,7 @@ (define-public es
|
||||||
(version "0.9.2")
|
(version "0.9.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch/tarbomb)
|
||||||
(uri (string-append "https://github.com/wryun/es-shell/releases/"
|
(uri (string-append "https://github.com/wryun/es-shell/releases/"
|
||||||
"download/v" version "/es-" version ".tar.gz"))
|
"download/v" version "/es-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
|
@ -371,13 +371,7 @@ (define-public es
|
||||||
(file-name (string-append name "-" version ".tar.gz"))))
|
(file-name (string-append name "-" version ".tar.gz"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
(list #:test-target "test"))
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-before 'configure 're-enter-rootdir
|
|
||||||
;; The tarball has no folder.
|
|
||||||
(lambda _
|
|
||||||
(chdir ".."))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list readline))
|
(list readline))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Loading…
Reference in a new issue