gnu: dash: Use the release tarball.
* gnu/packages/shells.scm (dash)[source]: Use the release tarball instead of a Git checkout. [native-inputs]: Remove field. [arguments]: Remove 'bootstrap' phase.
This commit is contained in:
parent
371ca85f52
commit
da20c38f35
|
@ -54,17 +54,12 @@
|
||||||
(version "0.5.9.1")
|
(version "0.5.9.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; The canonical source is offline, so we fetch the source code
|
(method url-fetch)
|
||||||
;; from the Git repository. See:
|
(uri (string-append "http://gondor.apana.org.au/~herbert/dash/files/"
|
||||||
;; https://www.mail-archive.com/dash@vger.kernel.org/msg01323.html
|
"dash-" version ".tar.gz"))
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://git.kernel.org/pub/scm/utils/dash/dash.git/")
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0p01vx7rbyf5hyyaff7h8cbhq81bm5fmq1m933484lncl9rafcai"))
|
"0ng695mq5ngg43h7ljhxvbjm46ym3nayj6ssn47d2gm9fbm5pkay"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -75,17 +70,10 @@
|
||||||
"a command interpreter based on the original Bourne shell"))
|
"a command interpreter based on the original Bourne shell"))
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
|
||||||
`(("autoconf" ,autoconf)
|
|
||||||
("automake" ,automake)))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("libedit" ,libedit)))
|
`(("libedit" ,libedit)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
'(#:configure-flags '("--with-libedit")))
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-before 'configure 'bootstrap
|
|
||||||
(lambda _ (zero? (system* "autoreconf" "-vfi")))))
|
|
||||||
#:configure-flags '("--with-libedit")))
|
|
||||||
(home-page "http://gondor.apana.org.au/~herbert/dash")
|
(home-page "http://gondor.apana.org.au/~herbert/dash")
|
||||||
(synopsis "POSIX-compliant shell optimised for size")
|
(synopsis "POSIX-compliant shell optimised for size")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue