mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
distro: Add GNU Patch.
* distro/base.scm (patch): New variable.
This commit is contained in:
parent
04a32ee5ea
commit
fbeec3d9bd
1 changed files with 26 additions and 0 deletions
|
@ -178,6 +178,32 @@ (define-public tar
|
|||
(license "GPLv3+")
|
||||
(home-page "http://www.gnu.org/software/tar/")))
|
||||
|
||||
(define-public patch
|
||||
(package
|
||||
(name "patch")
|
||||
(version "2.6.1")
|
||||
(source (origin
|
||||
(method http-fetch)
|
||||
(uri (string-append "http://ftp.gnu.org/gnu/patch/patch-"
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"18012gxs9wc96izskp1q7bclrwns6rdmkn4jj31c8jbyfz6l5npq"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs '()) ; FIXME: needs `ed' for the tests
|
||||
(arguments
|
||||
(case-lambda
|
||||
((system) '(#:tests? #f))
|
||||
((system cross-system)
|
||||
'(#:configure-flags '("ac_cv_func_strnlen_working=yes")))))
|
||||
(description "GNU Patch, a program to apply differences to files")
|
||||
(long-description
|
||||
"GNU Patch takes a patch file containing a difference listing produced by
|
||||
the diff program and applies those differences to one or more original files,
|
||||
producing patched versions.")
|
||||
(license "GPLv3+")
|
||||
(home-page "http://savannah.gnu.org/projects/patch/")))
|
||||
|
||||
(define-public diffutils
|
||||
(package
|
||||
(name "diffutils")
|
||||
|
|
Loading…
Reference in a new issue