gnu: sed: Update to 4.5.
* gnu/packages/base.scm (sed): Update to 4.5. [arguments]: Remove 'patch-test-suite' phase. [native-inputs]: New field.
This commit is contained in:
parent
d32922759b
commit
301a424906
|
@ -128,14 +128,14 @@ including, for example, recursive directory searching.")
|
||||||
(define-public sed
|
(define-public sed
|
||||||
(package
|
(package
|
||||||
(name "sed")
|
(name "sed")
|
||||||
(version "4.4")
|
(version "4.5")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnu/sed/sed-" version
|
(uri (string-append "mirror://gnu/sed/sed-" version
|
||||||
".tar.xz"))
|
".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0fv88bcnraixc8jvpacvxshi30p5x9m7yb8ns1hfv07hmb2ypmnb"))))
|
"0h3b2jfj57wmz680vkbyavlsrkak556qhvs7m7fdlawwhg477bbs"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(synopsis "Stream editor")
|
(synopsis "Stream editor")
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -149,15 +149,9 @@ including, for example, recursive directory searching.")
|
||||||
(substitute* "Makefile.in"
|
(substitute* "Makefile.in"
|
||||||
(("^doc/sed\\.1:.*")
|
(("^doc/sed\\.1:.*")
|
||||||
"doc/sed.1:\n"))
|
"doc/sed.1:\n"))
|
||||||
#t))
|
|
||||||
(add-before 'patch-source-shebangs 'patch-test-suite
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(patch-makefile-SHELL "testsuite/Makefile.tests")
|
|
||||||
(substitute* '("testsuite/bsd.sh"
|
|
||||||
"testsuite/bug-regex9.c")
|
|
||||||
(("/bin/sh")
|
|
||||||
(which "sh")))
|
|
||||||
#t)))))
|
#t)))))
|
||||||
|
(native-inputs
|
||||||
|
`(("perl" ,perl))) ;for tests
|
||||||
(description
|
(description
|
||||||
"Sed is a non-interactive, text stream editor. It receives a text
|
"Sed is a non-interactive, text stream editor. It receives a text
|
||||||
input from a file or from standard input and it then applies a series of text
|
input from a file or from standard input and it then applies a series of text
|
||||||
|
|
|
@ -928,6 +928,14 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
|
||||||
("grep" ,grep-final)
|
("grep" ,grep-final)
|
||||||
,@%boot5-inputs))
|
,@%boot5-inputs))
|
||||||
|
|
||||||
|
(define sed-final
|
||||||
|
;; The final sed.
|
||||||
|
(let ((sed (package-with-bootstrap-guile
|
||||||
|
(package-with-explicit-inputs sed %boot6-inputs
|
||||||
|
(current-source-location)
|
||||||
|
#:guile guile-final))))
|
||||||
|
(package/inherit sed (native-inputs `(("perl" ,perl-boot0))))))
|
||||||
|
|
||||||
(define-public %final-inputs
|
(define-public %final-inputs
|
||||||
;; Final derivations used as implicit inputs by 'gnu-build-system'. We
|
;; Final derivations used as implicit inputs by 'gnu-build-system'. We
|
||||||
;; still use 'package-with-bootstrap-guile' so that the bootstrap tools are
|
;; still use 'package-with-bootstrap-guile' so that the bootstrap tools are
|
||||||
|
@ -946,9 +954,9 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
|
||||||
("file" ,file)
|
("file" ,file)
|
||||||
("diffutils" ,diffutils)
|
("diffutils" ,diffutils)
|
||||||
("patch" ,patch)
|
("patch" ,patch)
|
||||||
("sed" ,sed)
|
|
||||||
("findutils" ,findutils)
|
("findutils" ,findutils)
|
||||||
("gawk" ,gawk)))
|
("gawk" ,gawk)))
|
||||||
|
("sed" ,sed-final)
|
||||||
("grep" ,grep-final)
|
("grep" ,grep-final)
|
||||||
("coreutils" ,coreutils-final)
|
("coreutils" ,coreutils-final)
|
||||||
("make" ,gnu-make-final)
|
("make" ,gnu-make-final)
|
||||||
|
|
Loading…
Reference in New Issue