diff options
| author | Mathieu Othacehe <othacehe@gnu.org> | 2021-10-12 16:50:47 +0000 |
|---|---|---|
| committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-10-12 17:46:23 +0000 |
| commit | a1eca979fb8da842e73c42f4f53be29b169810f2 (patch) | |
| tree | 681c7283e412bb8a29c2531c4408b49c3e184764 /gnu/packages/patchutils.scm | |
| parent | 48d86a9ec6d8d2e97da2299ea41a03ef4cdaab83 (diff) | |
| parent | 371aa5777a3805a3886f3feea5f1960fe3fe4219 (diff) | |
Merge remote-tracking branch 'origin/master' into core-updates-frozen.
Diffstat (limited to 'gnu/packages/patchutils.scm')
| -rw-r--r-- | gnu/packages/patchutils.scm | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm index aa679832dbb..3ad795ac5a0 100644 --- a/gnu/packages/patchutils.scm +++ b/gnu/packages/patchutils.scm | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | ;;; Copyright © 2015, 2018 Leo Famulari <leo@famulari.name> | 3 | ;;; Copyright © 2015, 2018 Leo Famulari <leo@famulari.name> |
| 4 | ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr> | 4 | ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr> |
| 5 | ;;; Copyright © 2019 Christopher Baines <mail@cbaines.net> | 5 | ;;; Copyright © 2019 Christopher Baines <mail@cbaines.net> |
| 6 | ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz> | ||
| 6 | ;;; | 7 | ;;; |
| 7 | ;;; This file is part of GNU Guix. | 8 | ;;; This file is part of GNU Guix. |
| 8 | ;;; | 9 | ;;; |
| @@ -52,18 +53,19 @@ | |||
| 52 | (define-public patchutils | 53 | (define-public patchutils |
| 53 | (package | 54 | (package |
| 54 | (name "patchutils") | 55 | (name "patchutils") |
| 55 | (version "0.3.4") | 56 | (version "0.4.2") |
| 56 | (source | 57 | (source |
| 57 | (origin | 58 | (origin |
| 58 | (method url-fetch) | 59 | (method url-fetch) |
| 59 | (uri (string-append "http://cyberelk.net/tim/data/patchutils/stable/" | 60 | (uri (string-append "http://cyberelk.net/tim/data/patchutils/stable/" |
| 60 | name "-" version ".tar.xz")) | 61 | name "-" version ".tar.xz")) |
| 61 | (sha256 | 62 | (sha256 |
| 62 | (base32 | 63 | (base32 |
| 63 | "0xp8mcfyi5nmb5a2zi5ibmyshxkb1zv1dgmnyn413m7ahgdx8mfg")) | 64 | "1va5pzmxbzpi87vdnbjm9qdf9bvzps9xfv0gi4mycgg3bybb0xc8")))) |
| 64 | (patches (search-patches "patchutils-test-perms.patch")))) | ||
| 65 | (build-system gnu-build-system) | 65 | (build-system gnu-build-system) |
| 66 | (inputs `(("perl" ,perl))) | 66 | (inputs |
| 67 | `(("perl" ,perl) | ||
| 68 | ("python" ,python))) | ||
| 67 | (arguments | 69 | (arguments |
| 68 | '(#:parallel-tests? #f | 70 | '(#:parallel-tests? #f |
| 69 | #:phases | 71 | #:phases |
| @@ -71,8 +73,7 @@ | |||
| 71 | (add-before 'check 'patch-test-scripts | 73 | (add-before 'check 'patch-test-scripts |
| 72 | (lambda _ | 74 | (lambda _ |
| 73 | (substitute* (find-files "tests" "^run-test$") | 75 | (substitute* (find-files "tests" "^run-test$") |
| 74 | (("/bin/echo") (which "echo"))) | 76 | (("/bin/echo") (which "echo"))))) |
| 75 | #t)) | ||
| 76 | (add-after 'install 'wrap-program | 77 | (add-after 'install 'wrap-program |
| 77 | ;; Point installed scripts to the utilities they need. | 78 | ;; Point installed scripts to the utilities they need. |
| 78 | (lambda* (#:key inputs outputs #:allow-other-keys) | 79 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| @@ -87,8 +88,7 @@ | |||
| 87 | ,(map (lambda (dir) | 88 | ,(map (lambda (dir) |
| 88 | (string-append dir "/bin")) | 89 | (string-append dir "/bin")) |
| 89 | (list diffutils sed gawk))))) | 90 | (list diffutils sed gawk))))) |
| 90 | '("dehtmldiff" "editdiff" "espdiff"))) | 91 | '("dehtmldiff" "editdiff" "espdiff")))))))) |
| 91 | #t))))) | ||
| 92 | (home-page "http://cyberelk.net/tim/software/patchutils") | 92 | (home-page "http://cyberelk.net/tim/software/patchutils") |
| 93 | (synopsis "Collection of tools for manipulating patch files") | 93 | (synopsis "Collection of tools for manipulating patch files") |
| 94 | (description | 94 | (description |
