me
/
guix
Archived
1
0
Fork 0

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.
master
Tobias Geerinckx-Rice 2022-07-24 02:00:00 +02:00
parent 3dab424a3d
commit 171964da5b
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 2 additions and 8 deletions

View File

@ -363,7 +363,7 @@ has a small feature set similar to a traditional Bourne shell.")
(version "0.9.2")
(source
(origin
(method url-fetch)
(method url-fetch/tarbomb)
(uri (string-append "https://github.com/wryun/es-shell/releases/"
"download/v" version "/es-" version ".tar.gz"))
(sha256
@ -371,13 +371,7 @@ has a small feature set similar to a traditional Bourne shell.")
(file-name (string-append name "-" version ".tar.gz"))))
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
#:phases
(modify-phases %standard-phases
(add-before 'configure 're-enter-rootdir
;; The tarball has no folder.
(lambda _
(chdir ".."))))))
(list #:test-target "test"))
(inputs
(list readline))
(native-inputs