diff options
Diffstat (limited to 'gnu/packages/compression.scm')
| -rw-r--r-- | gnu/packages/compression.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 47e0499f7f3..af3bba1f61f 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il> | 10 | ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il> |
| 11 | ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com> | 11 | ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com> |
| 12 | ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org> | 12 | ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org> |
| 13 | ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr> | ||
| 13 | ;;; | 14 | ;;; |
| 14 | ;;; This file is part of GNU Guix. | 15 | ;;; This file is part of GNU Guix. |
| 15 | ;;; | 16 | ;;; |
| @@ -796,3 +797,39 @@ respectively, based on the reference implementation from Google.") | |||
| 796 | (description "Extracts files out of Microsoft Cabinet (.cab) archives") | 797 | (description "Extracts files out of Microsoft Cabinet (.cab) archives") |
| 797 | ;; Some source files specify gpl2+, lgpl2+, however COPYING is gpl3. | 798 | ;; Some source files specify gpl2+, lgpl2+, however COPYING is gpl3. |
| 798 | (license license:gpl3+))) | 799 | (license license:gpl3+))) |
| 800 | |||
| 801 | (define-public xdelta | ||
| 802 | (package | ||
| 803 | (name "xdelta") | ||
| 804 | (version "3.1.0") | ||
| 805 | (source | ||
| 806 | (origin | ||
| 807 | (method url-fetch) | ||
| 808 | (uri (string-append "https://github.com/jmacd/xdelta/archive/v" | ||
| 809 | version ".tar.gz")) | ||
| 810 | (sha256 | ||
| 811 | (base32 | ||
| 812 | "17g2pbbqy6h20qgdjq7ykib7kg5ajh8fwbsfgyjqg8pwg19wy5bm")) | ||
| 813 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 814 | (snippet | ||
| 815 | ;; This file isn't freely distributable and has no effect on building. | ||
| 816 | '(delete-file "xdelta3/draft-korn-vcdiff.txt")))) | ||
| 817 | (build-system gnu-build-system) | ||
| 818 | (native-inputs | ||
| 819 | `(("autoconf" ,autoconf) | ||
| 820 | ("automake" ,automake))) | ||
| 821 | (arguments | ||
| 822 | `(#:phases | ||
| 823 | (modify-phases %standard-phases | ||
| 824 | (add-after 'unpack 'enter-build-directory | ||
| 825 | (lambda _ (chdir "xdelta3"))) | ||
| 826 | (add-before 'configure 'autoconf | ||
| 827 | (lambda _ (zero? (system* "autoreconf" "-vfi"))))))) | ||
| 828 | (home-page "http://xdelta.com") | ||
| 829 | (synopsis "Delta encoder for binary files") | ||
| 830 | (description "xdelta encodes only the differences between two binary files | ||
| 831 | using the VCDIFF algorithm and patch file format described in RFC 3284. It can | ||
| 832 | also be used to apply such patches. xdelta is similar to @command{diff} and | ||
| 833 | @command{patch}, but is not limited to plain text and does not generate | ||
| 834 | human-readable output.") | ||
| 835 | (license license:asl2.0))) | ||
