diff options
| author | Tomáš Čech <sleep_walker@gnu.org> | 2015-03-18 00:01:48 +0100 |
|---|---|---|
| committer | Tomáš Čech <sleep_walker@gnu.org> | 2015-03-19 14:50:07 +0100 |
| commit | 285d8f0dca62d2b2865dfa4787baca406c70671f (patch) | |
| tree | f6daa4d73a425221cc3b3108ce8fd98b7f7733b8 /gnu/packages/patchutils.scm | |
| parent | 2a31e1dadefc522d13b47c671254f706fb5ea3a6 (diff) | |
gnu: Add colordiff.
* gnu/packages/patchutils.scm (colordiff): New variable.
Diffstat (limited to 'gnu/packages/patchutils.scm')
| -rw-r--r-- | gnu/packages/patchutils.scm | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm index 48f4d295848..cf8a6e494bc 100644 --- a/gnu/packages/patchutils.scm +++ b/gnu/packages/patchutils.scm | |||
| @@ -28,7 +28,8 @@ | |||
| 28 | #:use-module (gnu packages file) | 28 | #:use-module (gnu packages file) |
| 29 | #:use-module (gnu packages gawk) | 29 | #:use-module (gnu packages gawk) |
| 30 | #:use-module (gnu packages less) | 30 | #:use-module (gnu packages less) |
| 31 | #:use-module (gnu packages perl)) | 31 | #:use-module (gnu packages perl) |
| 32 | #:use-module (gnu packages xml)) | ||
| 32 | 33 | ||
| 33 | (define-public patchutils | 34 | (define-public patchutils |
| 34 | (package | 35 | (package |
| @@ -140,3 +141,32 @@ listing the files modified by a patch.") | |||
| 140 | track of the changes each patch makes. Patches can be applied, un-applied, | 141 | track of the changes each patch makes. Patches can be applied, un-applied, |
| 141 | refreshed, and more.") | 142 | refreshed, and more.") |
| 142 | (license gpl2))) | 143 | (license gpl2))) |
| 144 | |||
| 145 | (define-public colordiff | ||
| 146 | (package | ||
| 147 | (name "colordiff") | ||
| 148 | (version "1.0.13") | ||
| 149 | (source | ||
| 150 | (origin | ||
| 151 | (method url-fetch) | ||
| 152 | (uri (string-append "http://www.colordiff.org/colordiff-" | ||
| 153 | version ".tar.gz")) | ||
| 154 | (sha256 | ||
| 155 | (base32 "0akcz1p3klsjnhwcqdfq4grs6paljc5c0jzr3mqla5f862hhaa6f")))) | ||
| 156 | (build-system gnu-build-system) | ||
| 157 | (arguments | ||
| 158 | `(#:tests? #f | ||
| 159 | #:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")) | ||
| 160 | "INSTALL_DIR=/bin" "MAN_DIR=/share/man/man1") | ||
| 161 | #:phases | ||
| 162 | (alist-delete 'configure | ||
| 163 | (alist-delete 'build %standard-phases)))) | ||
| 164 | (inputs | ||
| 165 | `(("perl" ,perl) | ||
| 166 | ("xmlto" ,xmlto))) | ||
| 167 | (home-page "http://www.colordiff.org") | ||
| 168 | (synopsis "Display diff output with colors") | ||
| 169 | (description | ||
| 170 | "Colordiff is Perl script wrapper on top of diff command which provides | ||
| 171 | 'syntax highlighting' for various patch formats.") | ||
| 172 | (license gpl2+))) | ||
