2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2017-01-07 16:44:10 -05:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2017 Ludovic Courtès <ludo@gnu.org>
|
2013-10-25 18:24:44 -04:00
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2015-03-01 19:42:15 -05:00
|
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2015-02-20 09:13:34 -05:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2016-04-02 02:48:30 -04:00
|
|
|
|
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
|
2017-08-31 13:15:21 -04:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
2018-02-12 13:49:49 -05:00
|
|
|
|
;;; Copyright © 2015, 2017, 2018 Leo Famulari <leo@famulari.name>
|
2015-09-28 17:55:56 -04:00
|
|
|
|
;;; Copyright © 2015 Jeff Mickey <j@codemac.net>
|
2017-01-16 02:52:54 -05:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
2016-01-24 17:31:14 -05:00
|
|
|
|
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
|
2016-04-17 13:30:37 -04:00
|
|
|
|
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
|
2018-01-01 11:16:54 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2016-08-14 19:17:18 -04:00
|
|
|
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
2017-08-27 22:27:56 -04:00
|
|
|
|
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
|
2016-08-11 21:29:51 -04:00
|
|
|
|
;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
|
Correct name and Email for ng0.
* .mailmap: Correct name and Email for ng0.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm,
gnu/packages/cdrom.scm, gnu/packages/check.scm,
gnu/packages/cinnamon.scm, gnu/packages/compression.scm,
gnu/packages/crypto.scm, gnu/packages/databases.scm,
gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/emacs.scm, gnu/packages/enlightenment.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
gnu/packages/forth.scm, gnu/packages/fvwm.scm,
gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm,
gnu/packages/guile.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm,
gnu/packages/image-viewers.scm, gnu/packages/image.scm,
gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm,
gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm,
gnu/packages/music.scm, gnu/packages/ncurses.scm,
gnu/packages/networking.scm, gnu/packages/nickle.scm,
gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-crypto.scm, gnu/packages/python-web.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/ruby.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/serialization.scm,
gnu/packages/shells.scm, gnu/packages/ssh.scm,
gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm,
gnu/packages/tls.scm, gnu/packages/tor.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xfce.scm, gnu/packages/xml.scm,
gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm,
guix/licenses.scm: Likewise.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2018-03-20 11:39:45 -04:00
|
|
|
|
;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
|
2017-04-23 13:23:45 -04:00
|
|
|
|
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
|
2017-09-29 06:36:20 -04:00
|
|
|
|
;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org>
|
2017-10-18 17:07:25 -04:00
|
|
|
|
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
|
2017-10-24 12:22:12 -04:00
|
|
|
|
;;; Copyright © 2017 Petter <petter@mykolab.ch>
|
2017-11-03 12:31:27 -04:00
|
|
|
|
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
2018-01-31 05:57:33 -05:00
|
|
|
|
;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com>
|
2018-02-21 12:18:31 -05:00
|
|
|
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
2012-11-04 17:16:58 -05:00
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; This file is part of GNU Guix.
|
2012-11-04 17:16:58 -05:00
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
2012-11-04 17:16:58 -05:00
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
2012-11-04 17:16:58 -05:00
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
2013-01-05 18:47:50 -05:00
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
2012-11-04 17:16:58 -05:00
|
|
|
|
|
2013-01-17 19:06:24 -05:00
|
|
|
|
(define-module (gnu packages compression)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 16:44:22 -04:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2015-10-22 13:17:12 -04:00
|
|
|
|
#:use-module (guix utils)
|
2012-11-04 17:16:58 -05:00
|
|
|
|
#:use-module (guix packages)
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
|
#:use-module (guix download)
|
2015-06-23 15:25:19 -04:00
|
|
|
|
#:use-module (guix git-download)
|
2017-11-03 09:17:12 -04:00
|
|
|
|
#:use-module (guix build-system ant)
|
2017-04-23 13:23:45 -04:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2013-10-25 18:24:44 -04:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2015-04-06 15:46:38 -04:00
|
|
|
|
#:use-module (guix build-system perl)
|
2017-02-03 11:56:24 -05:00
|
|
|
|
#:use-module (guix build-system python)
|
2016-05-29 23:04:46 -04:00
|
|
|
|
#:use-module (gnu packages)
|
2016-07-13 18:22:16 -04:00
|
|
|
|
#:use-module (gnu packages assembly)
|
2016-04-02 02:48:30 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2016-01-24 17:31:14 -05:00
|
|
|
|
#:use-module (gnu packages backup)
|
2015-04-06 15:46:38 -04:00
|
|
|
|
#:use-module (gnu packages base)
|
2018-01-31 05:57:33 -05:00
|
|
|
|
#:use-module (gnu packages boost)
|
2017-02-20 16:31:35 -05:00
|
|
|
|
#:use-module (gnu packages check)
|
2017-04-23 13:23:45 -04:00
|
|
|
|
#:use-module (gnu packages curl)
|
2017-10-18 17:07:25 -04:00
|
|
|
|
#:use-module (gnu packages file)
|
2017-11-03 09:17:12 -04:00
|
|
|
|
#:use-module (gnu packages java)
|
2017-11-03 12:31:27 -04:00
|
|
|
|
#:use-module (gnu packages maths)
|
2015-06-23 15:25:19 -04:00
|
|
|
|
#:use-module (gnu packages perl)
|
2018-01-01 11:16:54 -05:00
|
|
|
|
#:use-module (gnu packages perl-check)
|
2016-01-24 17:31:14 -05:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2017-02-03 11:56:24 -05:00
|
|
|
|
#:use-module (gnu packages python)
|
2017-04-23 13:23:45 -04:00
|
|
|
|
#:use-module (gnu packages tls)
|
2015-09-09 17:04:12 -04:00
|
|
|
|
#:use-module (gnu packages valgrind)
|
2016-08-18 11:06:10 -04:00
|
|
|
|
#:use-module (ice-9 match)
|
2015-06-23 15:25:19 -04:00
|
|
|
|
#:use-module ((srfi srfi-1) #:select (last)))
|
2012-11-04 17:16:58 -05:00
|
|
|
|
|
2012-11-04 17:40:26 -05:00
|
|
|
|
(define-public zlib
|
|
|
|
|
(package
|
|
|
|
|
(name "zlib")
|
2017-01-16 02:52:54 -05:00
|
|
|
|
(version "1.2.11")
|
2012-11-04 17:40:26 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
|
(method url-fetch)
|
2013-05-25 16:27:59 -04:00
|
|
|
|
(uri (list (string-append "http://zlib.net/zlib-"
|
|
|
|
|
version ".tar.gz")
|
2017-01-07 16:44:10 -05:00
|
|
|
|
(string-append "mirror://sourceforge/libpng/zlib/"
|
|
|
|
|
version "/zlib-" version ".tar.gz")))
|
2012-11-04 17:40:26 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-16 02:52:54 -05:00
|
|
|
|
"18dighcs333gsvajvvgqp8l4cx7h1x7yx9gd5xacnk80spyykrf3"))))
|
2012-11-04 17:40:26 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-01-16 02:54:47 -05:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Zlib's home-made `configure' fails when passed
|
|
|
|
|
;; extra flags like `--enable-fast-install', so we need to
|
|
|
|
|
;; invoke it with just what it understand.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; 'configure' doesn't understand '--host'.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
`((setenv "CHOST" ,(%current-target-system)))
|
|
|
|
|
'())
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./configure"
|
|
|
|
|
(string-append "--prefix=" out)))))))))
|
2018-03-06 20:31:05 -05:00
|
|
|
|
(home-page "https://zlib.net/")
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
(synopsis "Compression library")
|
2012-11-04 17:40:26 -05:00
|
|
|
|
(description
|
|
|
|
|
"zlib is designed to be a free, general-purpose, legally unencumbered --
|
|
|
|
|
that is, not covered by any patents -- lossless data-compression library for
|
|
|
|
|
use on virtually any computer hardware and operating system. The zlib data
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
format is itself portable across platforms. Unlike the LZW compression method
|
2012-11-04 17:40:26 -05:00
|
|
|
|
used in Unix compress(1) and in the GIF image format, the compression method
|
|
|
|
|
currently used in zlib essentially never expands the data. (LZW can double or
|
|
|
|
|
triple the file size in extreme cases.) zlib's memory footprint is also
|
|
|
|
|
independent of the input data and can be reduced, if necessary, at some cost
|
|
|
|
|
in compression.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 10:14:04 -05:00
|
|
|
|
(license license:zlib)))
|
2012-11-04 17:40:26 -05:00
|
|
|
|
|
2016-10-13 07:35:30 -04:00
|
|
|
|
(define-public minizip
|
|
|
|
|
(package
|
|
|
|
|
(name "minizip")
|
|
|
|
|
(version (package-version zlib))
|
|
|
|
|
(source (package-source zlib))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _ (chdir "contrib/minizip") #t))
|
gnu: Put autoconf-related phases immediately after the 'unpack phase.
* gnu/packages/audio.scm (audacity, rtmidi)[arguments]: Correct phases
accordingly.
* gnu/packages/bioinformatics.scm (mash, seek, vsearch, emboss,
htslib-for-sambamba)[arguments]: Likewise.
* gnu/packages/ci.scm (cuirass)[arguments]: Likewise.
* gnu/packages/compression.scm (minizip, xdelta)[arguments]: Likewise.
* gnu/packages/cpp.scm (libzen)[arguments]: Likewise.
* gnu/packages/crypto.scm (opendht)[arguments]: Likewise.
* gnu/packages/databases.scm (4store, mdbtools)[arguments]: Likewise.
* gnu/packages/debug.scm (stress-make)[arguments]: Likewise.
* gnu/packages/dns.scm (dnscrypt-proxy, dnscrypt-wrapper)[arguments]:
Likewise.
* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Likewise.
* gnu/packages/embedded.scm (libjaylink, openocd)[arguments]: Likewise.
* gnu/packages/engineering.scm (gerbv)[arguments]: Likewise.
* gnu/packages/erlang.scm (erlang)[arguments]: Likewise.
* gnu/packages/ftp.scm (weex)[arguments]: Likewise.
* gnu/packages/gnome.scm (dia)[arguments]: Likewise.
* gnu/packages/gnunet.scm (gnurl, guile-gnunet)[arguments]: Likewise.
* gnu/packages/gtk.scm (guile-rsvg, graphene)[arguments]: Likewise.
* gnu/packages/guile.scm (guildhall, guile-ics, guile-sqlite3)[arguments]:
Likewise.
* gnu/packages/ibus.scm (ibus-libpinyin)[arguments]: Likewise.
* gnu/packages/irc.scm (weechat)[arguments]: Likewise.
* gnu/packages/java.scm (classpath-devel)[arguments]: Likewise.
* gnu/packages/libreoffice.scm (libetonyek)[arguments]: Likewise.
* gnu/packages/libusb.scm (hidapi)[arguments]: Likewise.
* gnu/packages/linux.scm (gpm)[arguments]: Likewise.
* gnu/packages/logging.scm (glog)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (ghmm)[arguments]: Likewise.
* gnu/packages/mail.scm (dovecot-trees, dovecot-libsodium-plugin, esmtp)
[arguments]: Likewise.
* gnu/packages/messaging.scm (freetalk, libmesode, libstrophe)[arguments]:
Likewise.
* gnu/packages/microcom.scm (microcom)[arguments]: Likewise.
* gnu/packages/ocaml.scm (ocaml-ssl)[arguments]: Likewise.
* gnu/packages/parallel.scm (slurm)[arguments]: Likewise.
* gnu/packages/pdf.scm (libharu)[arguments]: Likewise.
* gnu/packages/samba.scm (cifs-utils)[arguments]: Likewise.
* gnu/packages/serialization.scm (msgpack)[arguments]: Likewise.
* gnu/packages/shells.scm (scsh)[arguments]: Likewise.
* gnu/packages/telephony.scm (libiax2)[arguments]: Likewise.
* gnu/packages/textutils.scm (dotconf)[arguments]: Likewise.
* gnu/packages/version-control.scm (findnewest)[arguments]: Likewise.
* gnu/packages/video.scm (libmediainfo, mediainfo)[arguments]: Likewise.
2017-07-30 21:02:35 -04:00
|
|
|
|
(add-after 'enter-source 'autoreconf
|
2016-10-13 07:35:30 -04:00
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "autoreconf" "-vif")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(propagated-inputs `(("zlib" ,zlib)))
|
|
|
|
|
(home-page (package-home-page zlib))
|
|
|
|
|
(synopsis "Zip Compression library")
|
|
|
|
|
(description
|
|
|
|
|
"Minizip is a minimalistic library that supports compressing,
|
|
|
|
|
extracting and viewing ZIP archives. This version is extracted from
|
|
|
|
|
the @code{zlib} source.")
|
|
|
|
|
(license (package-license zlib))))
|
|
|
|
|
|
2014-12-22 12:03:02 -05:00
|
|
|
|
(define-public fastjar
|
|
|
|
|
(package
|
|
|
|
|
(name "fastjar")
|
|
|
|
|
(version "0.98")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/fastjar/fastjar-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("zlib" ,zlib)))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://savannah.nongnu.org/projects/fastjar")
|
2014-12-22 12:03:02 -05:00
|
|
|
|
(synopsis "Replacement for Sun's 'jar' utility")
|
|
|
|
|
(description
|
|
|
|
|
"FastJar is an attempt to create a much faster replacement for Sun's 'jar'
|
|
|
|
|
utility. Instead of being written in Java, FastJar is written in C.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-06-27 05:45:01 -04:00
|
|
|
|
(define-public libtar
|
|
|
|
|
(package
|
|
|
|
|
(name "libtar")
|
2016-05-29 15:46:29 -04:00
|
|
|
|
(version "1.2.20")
|
2015-06-27 05:45:01 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-29 15:46:29 -04:00
|
|
|
|
(uri (list
|
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.feep.net/pub/software/libtar/libtar-"
|
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append
|
|
|
|
|
"mirror://debian/pool/main/libt/libtar/libtar_"
|
|
|
|
|
version ".orig.tar.gz")))
|
2015-06-27 05:45:01 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-05-29 23:04:46 -04:00
|
|
|
|
"02cihzl77ia0dcz7z2cga2412vyhhs5pa2355q4wpwbyga2lrwjh"))
|
|
|
|
|
(patches (search-patches "libtar-CVE-2013-4420.patch"))))
|
2015-06-27 05:45:01 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2016-05-29 15:46:29 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'autoconf
|
|
|
|
|
(lambda _ (zero? (system* "sh" "autoreconf" "-vfi")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
2015-06-27 05:45:01 -04:00
|
|
|
|
(synopsis "C library for manipulating POSIX tar files")
|
|
|
|
|
(description
|
|
|
|
|
"libtar is a C library for manipulating POSIX tar files. It handles
|
|
|
|
|
adding and extracting files to/from a tar archive.")
|
2016-05-29 15:46:29 -04:00
|
|
|
|
(home-page "https://repo.or.cz/libtar.git")
|
2015-06-27 05:45:01 -04:00
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(define-public gzip
|
|
|
|
|
(package
|
|
|
|
|
(name "gzip")
|
2016-04-28 11:14:18 -04:00
|
|
|
|
(version "1.8")
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
|
(method url-fetch)
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 17:34:03 -05:00
|
|
|
|
(uri (string-append "mirror://gnu/gzip/gzip-"
|
2016-04-08 02:19:22 -04:00
|
|
|
|
version ".tar.xz"))
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-04-28 11:14:18 -04:00
|
|
|
|
"1lxv3p4iyx7833mlihkn5wfwmz4cys5nybwpz3dfawag8kn6f5zz"))))
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 12:04:25 -04:00
|
|
|
|
(synopsis "General file (de)compression (using lzw)")
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(arguments
|
|
|
|
|
;; FIXME: The test suite wants `less', and optionally Perl.
|
2017-08-31 13:15:21 -04:00
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'use-absolute-name-of-gzip
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "gunzip.in"
|
|
|
|
|
(("exec gzip")
|
|
|
|
|
(string-append "exec " (assoc-ref outputs "out")
|
|
|
|
|
"/bin/gzip")))
|
|
|
|
|
#t)))))
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(description
|
2013-12-01 16:33:23 -05:00
|
|
|
|
"GNU Gzip provides data compression and decompression utilities; the
|
|
|
|
|
typical extension is \".gz\". Unlike the \"zip\" format, it compresses a single
|
|
|
|
|
file; as a result, it is often used in conjunction with \"tar\", resulting in
|
|
|
|
|
\".tar.gz\" or \".tgz\", etc.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 10:14:04 -05:00
|
|
|
|
(license license:gpl3+)
|
2017-03-29 18:48:16 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/gzip/")))
|
2012-11-04 17:16:58 -05:00
|
|
|
|
|
|
|
|
|
(define-public bzip2
|
2017-05-16 16:36:31 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "bzip2")
|
|
|
|
|
(version "1.0.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.bzip.org/" version "/bzip2-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1kfrc7f0ja9fdn6j1y6yir6li818npy6217hvr3wzmnmzhs8z152"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key target #:allow-other-keys)
|
|
|
|
|
(if ,(%current-target-system)
|
|
|
|
|
;; Cross-compilation: use the cross tools.
|
|
|
|
|
(substitute* (find-files "." "Makefile")
|
|
|
|
|
(("CC=.*$")
|
|
|
|
|
(string-append "CC = " target "-gcc\n"))
|
|
|
|
|
(("AR=.*$")
|
|
|
|
|
(string-append "AR = " target "-ar\n"))
|
|
|
|
|
(("RANLIB=.*$")
|
|
|
|
|
(string-append "RANLIB = " target "-ranlib\n"))
|
|
|
|
|
(("^all:(.*)test" _ prerequisites)
|
|
|
|
|
;; Remove 'all' -> 'test' dependency.
|
|
|
|
|
(string-append "all:" prerequisites "\n")))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-before 'build 'build-shared-lib
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(patch-makefile-SHELL "Makefile-libbz2_so")
|
|
|
|
|
(zero? (system* "make" "-f" "Makefile-libbz2_so"))))
|
|
|
|
|
(add-after 'install 'install-shared-lib
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(libdir (string-append out "/lib")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(let ((base (basename file)))
|
|
|
|
|
(format #t "installing `~a' to `~a'~%"
|
|
|
|
|
base libdir)
|
|
|
|
|
(copy-file file
|
|
|
|
|
(string-append libdir "/" base))))
|
|
|
|
|
(find-files "." "^libbz2\\.so")))
|
2017-05-16 16:36:33 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install-shared-lib 'patch-scripts
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* (string-append out "/bin/bzdiff")
|
|
|
|
|
(("/bin/rm") "rm")))
|
2017-05-16 16:36:31 -04:00
|
|
|
|
#t)))
|
2013-09-29 11:22:08 -04:00
|
|
|
|
|
2017-05-16 16:36:31 -04:00
|
|
|
|
#:make-flags (list (string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
2013-09-29 11:22:08 -04:00
|
|
|
|
|
2017-05-16 16:36:31 -04:00
|
|
|
|
;; Don't attempt to run the tests when cross-compiling.
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
|
'(#:tests? #f)
|
|
|
|
|
'())))
|
|
|
|
|
(synopsis "High-quality data compression program")
|
|
|
|
|
(description
|
|
|
|
|
"bzip2 is a freely available, patent free (see below), high-quality data
|
2012-11-04 17:16:58 -05:00
|
|
|
|
compressor. It typically compresses files to within 10% to 15% of the best
|
|
|
|
|
available techniques (the PPM family of statistical compressors), whilst
|
|
|
|
|
being around twice as fast at compression and six times faster at
|
|
|
|
|
decompression.")
|
2017-05-16 16:36:31 -04:00
|
|
|
|
(license (license:non-copyleft "file://LICENSE"
|
|
|
|
|
"See LICENSE in the distribution."))
|
|
|
|
|
(home-page "http://www.bzip.org/")))
|
2012-11-04 17:16:58 -05:00
|
|
|
|
|
2016-06-17 10:43:09 -04:00
|
|
|
|
(define-public lbzip2
|
|
|
|
|
(package
|
|
|
|
|
(name "lbzip2")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://archive.lbzip2.org/lbzip2-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1sahaqc5bw4i0iyri05syfza4ncf5cml89an033fspn97klmxis6"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "Parallel bzip2 compression utility")
|
|
|
|
|
(description
|
|
|
|
|
"lbzip2 is a multi-threaded compression utility with support for the
|
|
|
|
|
bzip2 compressed file format. lbzip2 can process standard bz2 files in
|
|
|
|
|
parallel. It uses POSIX threading model (pthreads), which allows it to take
|
|
|
|
|
full advantage of symmetric multiprocessing (SMP) systems. It has been proven
|
|
|
|
|
to scale linearly, even to over one hundred processor cores. lbzip2 is fully
|
|
|
|
|
compatible with bzip2 – both at file format and command line level.")
|
|
|
|
|
(home-page "http://www.lbzip2.org/")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-10-22 06:12:07 -04:00
|
|
|
|
(define-public pbzip2
|
|
|
|
|
(package
|
|
|
|
|
(name "pbzip2")
|
2018-02-15 21:35:46 -05:00
|
|
|
|
(version "1.1.13")
|
2015-10-22 06:12:07 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-10-22 13:17:12 -04:00
|
|
|
|
(uri (string-append "https://launchpad.net/pbzip2/"
|
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
|
"/+download/" name "-" version ".tar.gz"))
|
2015-10-22 06:12:07 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-15 21:35:46 -05:00
|
|
|
|
"1rnvgcdixjzbrmcr1nv9b6ccrjfrhryaj7jwz28yxxv6lam3xlcg"))))
|
2015-10-22 06:12:07 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 08:37:28 -05:00
|
|
|
|
`(("bzip2" ,bzip2)))
|
2015-10-22 06:12:07 -04:00
|
|
|
|
(arguments
|
2018-02-15 21:35:46 -05:00
|
|
|
|
`(#:tests? #f ; no tests
|
2015-10-22 06:12:07 -04:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
2018-02-15 21:35:46 -05:00
|
|
|
|
(delete 'configure)) ; no configure script
|
2015-10-22 13:17:12 -04:00
|
|
|
|
#:make-flags (list (string-append "PREFIX=" %output))))
|
2015-10-22 06:12:07 -04:00
|
|
|
|
(home-page "http://compression.ca/pbzip2/")
|
|
|
|
|
(synopsis "Parallel bzip2 implementation")
|
|
|
|
|
(description
|
|
|
|
|
"Pbzip2 is a parallel implementation of the bzip2 block-sorting file
|
|
|
|
|
compressor that uses pthreads and achieves near-linear speedup on SMP machines.
|
2015-10-22 13:17:12 -04:00
|
|
|
|
The output of this version is fully compatible with bzip2 v1.0.2 (i.e. anything
|
2015-10-22 06:12:07 -04:00
|
|
|
|
compressed with pbzip2 can be decompressed with bzip2).")
|
|
|
|
|
(license (license:non-copyleft "file://COPYING"
|
2015-10-22 13:17:12 -04:00
|
|
|
|
"See COPYING in the distribution."))))
|
2015-10-22 06:12:07 -04:00
|
|
|
|
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(define-public xz
|
|
|
|
|
(package
|
|
|
|
|
(name "xz")
|
2017-08-26 22:09:28 -04:00
|
|
|
|
(version "5.2.3")
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
|
(method url-fetch)
|
2015-11-01 15:49:51 -05:00
|
|
|
|
(uri (list (string-append "http://tukaani.org/xz/xz-" version
|
|
|
|
|
".tar.gz")
|
|
|
|
|
(string-append "http://multiprecision.org/guix/xz-"
|
|
|
|
|
version ".tar.gz")))
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-08-26 22:09:28 -04:00
|
|
|
|
"1jr8pxnz55ifc8cvp3ivgl79ph9iik5aypsc9cma228aglsqp4ki"))))
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
(synopsis "General-purpose data compression")
|
2012-11-04 17:16:58 -05:00
|
|
|
|
(description
|
|
|
|
|
"XZ Utils is free general-purpose data compression software with high
|
|
|
|
|
compression ratio. XZ Utils were written for POSIX-like systems, but also
|
|
|
|
|
work on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils.
|
|
|
|
|
|
|
|
|
|
The core of the XZ Utils compression code is based on LZMA SDK, but it has
|
|
|
|
|
been modified quite a lot to be suitable for XZ Utils. The primary
|
|
|
|
|
compression algorithm is currently LZMA2, which is used inside the .xz
|
|
|
|
|
container format. With typical files, XZ Utils create 30 % smaller output
|
|
|
|
|
than gzip and 15 % smaller output than bzip2.")
|
2013-02-01 06:57:06 -05:00
|
|
|
|
(license (list license:gpl2+ license:lgpl2.1+)) ; bits of both
|
2017-12-13 11:57:17 -05:00
|
|
|
|
(home-page "https://tukaani.org/xz/")))
|
2012-11-13 15:42:12 -05:00
|
|
|
|
|
|
|
|
|
(define-public lzo
|
|
|
|
|
(package
|
|
|
|
|
(name "lzo")
|
2017-10-24 15:58:35 -04:00
|
|
|
|
(version "2.10")
|
2012-11-13 15:42:12 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.oberhumer.com/opensource/lzo/download/lzo-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-10-24 15:58:35 -04:00
|
|
|
|
"0wm04519pd3g8hqpjqhfr72q8qmbiwqaxcs3cndny9h86aa95y60"))))
|
2012-11-13 15:42:12 -05:00
|
|
|
|
(build-system gnu-build-system)
|
2013-09-02 16:27:23 -04:00
|
|
|
|
(arguments '(#:configure-flags '("--enable-shared")))
|
2012-11-13 15:42:12 -05:00
|
|
|
|
(home-page "http://www.oberhumer.com/opensource/lzo")
|
|
|
|
|
(synopsis
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 08:16:07 -04:00
|
|
|
|
"Data compression library suitable for real-time data de-/compression")
|
2012-11-13 15:42:12 -05:00
|
|
|
|
(description
|
|
|
|
|
"LZO is a data compression library which is suitable for data
|
|
|
|
|
de-/compression in real-time. This means it favours speed over
|
|
|
|
|
compression ratio.
|
|
|
|
|
|
|
|
|
|
LZO is written in ANSI C. Both the source code and the compressed data
|
|
|
|
|
format are designed to be portable across platforms.")
|
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm,
distro/packages/autotools.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/bison.scm, distro/packages/bootstrap.scm,
distro/packages/compression.scm, distro/packages/cpio.scm,
distro/packages/ddrescue.scm, distro/packages/ed.scm,
distro/packages/flex.scm, distro/packages/gawk.scm,
distro/packages/gdbm.scm, distro/packages/gettext.scm,
distro/packages/gnupg.scm, distro/packages/gnutls.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/help2man.scm, distro/packages/less.scm,
distro/packages/libffi.scm, distro/packages/libsigsegv.scm,
distro/packages/libunistring.scm, distro/packages/linux.scm,
distro/packages/lout.scm, distro/packages/lsh.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/nano.scm, distro/packages/ncurses.scm,
distro/packages/nettle.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm,
distro/packages/shishi.scm, distro/packages/system.scm,
distro/packages/texinfo.scm, distro/packages/time.scm,
distro/packages/wget.scm, distro/packages/which.scm,
distro/packages/zile.scm: Use (guix licenses).
2012-12-14 10:14:04 -05:00
|
|
|
|
(license license:gpl2+)))
|
2013-07-19 18:24:17 -04:00
|
|
|
|
|
2017-02-03 11:56:25 -05:00
|
|
|
|
(define-public python-lzo
|
|
|
|
|
(package
|
|
|
|
|
(name "python-lzo")
|
|
|
|
|
(version "1.11")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "python-lzo" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"11p3ifg14p086byhhin6azx5svlkg8dzw2b5abixik97xd6fm81q"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "check"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-setuppy
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("include_dirs.append\\(.*\\)")
|
|
|
|
|
(string-append "include_dirs.append('"
|
|
|
|
|
(assoc-ref %build-inputs "lzo")
|
|
|
|
|
"/include/lzo"
|
|
|
|
|
"')")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lzo" ,lzo)))
|
|
|
|
|
(home-page "https://github.com/jd-boyd/python-lzo")
|
|
|
|
|
(synopsis "Python bindings for the LZO data compression library")
|
|
|
|
|
(description
|
|
|
|
|
"Python-LZO provides Python bindings for LZO, i.e. you can access
|
|
|
|
|
the LZO library from your Python scripts thereby compressing ordinary
|
|
|
|
|
Python strings.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-lzo
|
|
|
|
|
(package-with-python2 python-lzo))
|
|
|
|
|
|
2014-05-22 14:28:34 -04:00
|
|
|
|
(define-public lzop
|
|
|
|
|
(package
|
|
|
|
|
(name "lzop")
|
2018-02-15 21:34:38 -05:00
|
|
|
|
(version "1.04")
|
2014-05-22 14:28:34 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.lzop.org/download/lzop-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-15 21:34:38 -05:00
|
|
|
|
"0h9gb8q7y54m9mvy3jvsmxf21yx8fc3ylzh418hgbbv0i8mbcwky"))))
|
2014-05-22 14:28:34 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("lzo" ,lzo)))
|
2018-02-15 21:35:01 -05:00
|
|
|
|
(home-page "https://www.lzop.org/")
|
2014-05-22 14:28:34 -04:00
|
|
|
|
(synopsis "Compress or expand files")
|
|
|
|
|
(description
|
|
|
|
|
"Lzop is a file compressor which is very similar to gzip. Lzop uses the
|
|
|
|
|
LZO data compression library for compression services, and its main advantages
|
|
|
|
|
over gzip are much higher compression and decompression speed (at the cost of
|
|
|
|
|
some compression ratio).")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2013-07-19 18:24:17 -04:00
|
|
|
|
(define-public lzip
|
|
|
|
|
(package
|
|
|
|
|
(name "lzip")
|
2017-07-23 13:05:45 -04:00
|
|
|
|
(version "1.19")
|
2013-07-19 18:24:17 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/lzip/lzip-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-23 13:05:45 -04:00
|
|
|
|
"1abbch762gv8rjr579q3qyyk6c80plklbv2mw4x0vg71dgsw9bgz"))))
|
2013-07-19 18:24:17 -04:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/lzip.html")
|
2013-07-19 18:24:17 -04:00
|
|
|
|
(synopsis "Lossless data compressor based on the LZMA algorithm")
|
|
|
|
|
(description
|
|
|
|
|
"Lzip is a lossless data compressor with a user interface similar to the
|
|
|
|
|
one of gzip or bzip2. Lzip decompresses almost as fast as gzip and compresses
|
2017-07-23 13:05:45 -04:00
|
|
|
|
more than bzip2, which makes it well-suited for software distribution and data
|
2013-07-19 18:24:17 -04:00
|
|
|
|
archiving. Lzip is a clean implementation of the LZMA algorithm.")
|
|
|
|
|
(license license:gpl3+)))
|
2013-10-25 18:24:44 -04:00
|
|
|
|
|
2017-07-24 22:51:35 -04:00
|
|
|
|
(define-public lziprecover
|
|
|
|
|
(package
|
|
|
|
|
(name "lziprecover")
|
2018-02-15 22:13:01 -05:00
|
|
|
|
(version "1.20")
|
2017-07-24 22:51:35 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/lzip/" name "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-15 22:13:01 -05:00
|
|
|
|
"0fpnmdxayvd1ff0rk9606dvr431ji6b1v71km4ww244rih1rmmzz"))))
|
2017-07-24 22:51:35 -04:00
|
|
|
|
(build-system gnu-build-system)
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/lziprecover.html")
|
2017-07-24 22:51:35 -04:00
|
|
|
|
(synopsis "Recover and decompress data from damaged lzip files")
|
|
|
|
|
(description
|
|
|
|
|
"Lziprecover is a data recovery tool and decompressor for files in the lzip
|
|
|
|
|
compressed data format (.lz). It can test the integrity of lzip files, extract
|
|
|
|
|
data from damaged ones, and repair most files with small errors (up to one
|
|
|
|
|
single-byte error per member) entirely.
|
|
|
|
|
|
|
|
|
|
Lziprecover is not a replacement for regular backups, but a last line of defence
|
|
|
|
|
when even the backups are corrupt. It can recover files by merging the good
|
|
|
|
|
parts of two or more damaged copies, such as can be easily produced by running
|
|
|
|
|
@command{ddrescue} on a failing device.
|
|
|
|
|
|
|
|
|
|
This package also includes @command{unzcrash}, a tool to test the robustness of
|
|
|
|
|
decompressors when faced with corrupted input.")
|
|
|
|
|
(license (list license:bsd-2 ; arg_parser.{cc,h}
|
|
|
|
|
license:gpl2+)))) ; everything else
|
|
|
|
|
|
2013-10-25 18:24:44 -04:00
|
|
|
|
(define-public sharutils
|
|
|
|
|
(package
|
|
|
|
|
(name "sharutils")
|
2015-06-02 15:36:41 -04:00
|
|
|
|
(version "4.15.2")
|
2013-10-25 18:24:44 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/sharutils/sharutils-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-06-02 15:36:41 -04:00
|
|
|
|
"16isapn8f39lnffc3dp4dan05b7x6mnc76v6q5nn8ysxvvvwy19b"))))
|
2013-10-25 18:24:44 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("which" ,which)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
gnu: Use 'modify-phases' syntax.
* gnu/packages/admin.scm (mingetty, clusterssh, wpa-supplicant-minimal,
wpa-supplicant, wakelan, acpica, tree, direvent, dstat)[arguments]: Use
'modify-phases' syntax.
* gnu/packages/algebra.scm (arb)[arguments]: Likewise.
* gnu/packages/apr.scm (apr-util)[arguments]: Likewise.
* gnu/packages/audio.scm (clalsadrv, fluidsynth, faad2, lv2-mda-piano,
lv2-mda-epiano, timidity++, vamp, soundtouch, portaudio, rsound,
zita-convolver, zita-alsa-pcmi)[arguments]: Likewise.
* gnu/packages/backup.scm (rdup, btar)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bedops, bwa, crossmap, express,
flexbar, grit, hisat, ngs-sdk, subread)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Likewise.
* gnu/packages/cdrom.scm (cd-discid)[arguments]: Likewise.
* gnu/packages/compression.scm (sharutils)[arguments]: Likewise.
* gnu/packages/conky.scm (conky)[arguments]: Likewise.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Likewise.
* gnu/packages/debug.scm (delta, c-reduce)[arguments]: Likewise.
* gnu/packages/display-managers.scm (slim)[arguments]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[arguments]: Likewise.
* gnu/packages/emacs.scm (geiser, emacs-wget, bbdb)[arguments]: Likewise.
* gnu/packages/engineering.scm (pcb)[arguments]: Likewise.
* gnu/packages/firmware.scm (ath9k-htc-firmware)[arguments]: Likewise.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Likewise.
* gnu/packages/fltk.scm (fltk)[arguments]: Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Likewise.
* gnu/packages/gd.scm (perl-gd)[arguments]: Likewise.
* gnu/packages/gkrellm.scm (gkrellm)[arguments]: Likewise.
* gnu/packages/glib.scm (glibmm)[arguments]: Likewise.
* gnu/packages/gl.scm (glew)[arguments]: Likewise.
* gnu/packages/gnome.scm (icon-naming-utils, orbit2, libbonobo, gnome-vfs,
libgnome, libbonoboui, goffice-0.8, dconf)[arguments]: Likewise.
* gnu/packages/gprolog.scm (gprolog)[arguments]: Likewise.
* gnu/packages/gps.scm (gpscorrelate)[arguments]: Likewise.
* gnu/packages/graphics.scm (agg)[arguments]: Likewise.
* gnu/packages/gtk.scm (ganv, girara, gtksourceview-2, guile-present,
python2-pycairo)[arguments]: Likewise.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Likewise.
* gnu/packages/guile-wm.scm (guile-wm)[arguments]: Likewise.
* gnu/packages/hugs.scm (hugs)[arguments]: Likewise.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal)
[arguments]: Likewise.
* gnu/packages/image-viewers.scm (feh, sxiv)[arguments]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[arguments]: Likewise.
* gnu/packages/linux.scm (bridge-utils, iw, fuse, unionfs-fuse/static,
lm-sensors, i2c-tools, xsensors, perf, mdadm, libaio, module-init-tools)
[arguments]: Likewise.
* gnu/packages/lisp.scm (ccl)[arguments]: Likewise.
* gnu/packages/lout.scm (lout)[arguments]: Likewise.
* gnu/packages/lua.scm (luajit)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (shogun)[arguments]: Likewise.
* gnu/packages/mail.scm (exim)[arguments]: Likewise.
* gnu/packages/man.scm (man-pages, txt2man)[arguments]: Likewise.
* gnu/packages/maths.scm (lapack, superlu-dist, openlibm, openspecfun)
[arguments]: Likewise.
* gnu/packages/messaging.scm (bitlbee)[arguments]: Likewise.
* gnu/packages/mp3.scm (libmad, id3lib, mp3info)[arguments]: Likewise.
* gnu/packages/music.scm (solfege)[arguments]: Likewise.
* gnu/packages/noweb.scm (noweb)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchutils, quilt, colordiff)[arguments]:
Likewise.
* gnu/packages/pdf.scm (xpdf, zathura-cb, zathura-ps, zathura-djvu,
zathura-pdf-poppler, zathura, podofo, fbida)[arguments]: Likewise.
* gnu/packages/perl.scm (perl-file-list, perl-test-harness)[arguments]:
Likewise.
* gnu/packages/photo.scm (gphoto2)[arguments]: Likewise.
* gnu/packages/popt.scm (popt)[arguments]: Likewise.
* gnu/packages/pretty-print.scm (source-highlight, astyle)[arguments]:
Likewise.
* gnu/packages/pumpio.scm (pumpa)[arguments]: Likewise.
* gnu/packages/python.scm (python-passlib, python-pycrypto, python2-empy,
python-sqlalchemy, python-docopt)[arguments]: Likewise.
* gnu/packages/rdf.scm (lrdf)[arguments]: Likewise.
* gnu/packages/regex.scm (tre)[arguments]: Likewise.
* gnu/packages/rrdtool.scm (rrdtool)[arguments]: Likewise.
* gnu/packages/ruby.scm (ruby-2.1, ruby-1.8)[arguments]: Likewise.
* gnu/packages/sawfish.scm (sawfish)[arguments]: Likewise.
* gnu/packages/scheme.scm (racket)[arguments]: Likewise.
* gnu/packages/sdl.scm (guile-sdl)[arguments]: Likewise.
* gnu/packages/serveez.scm (serveez)[arguments]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[arguments]: Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[arguments]: Likewise.
* gnu/packages/suckless.scm (dmenu, slock)[arguments]: Likewise.
* gnu/packages/tcl.scm (expect)[arguments]: Likewise.
* gnu/packages/telephony.scm (commoncpp)[arguments]: Likewise.
* gnu/packages/textutils.scm (recode, libgtextutils)[arguments]:
Likewise.
* gnu/packages/time.scm (time)[arguments]: Likewise.
* gnu/packages/tor.scm (privoxy)[arguments]: Likewise.
* gnu/packages/uucp.scm (uucp)[arguments]: Likewise.
* gnu/packages/video.scm (libdvdnav-4)[arguments]: Likewise.
* gnu/packages/web-browsers.scm (lynx)[arguments]: Likewise.
* gnu/packages/web.scm (tinyproxy)[arguments]: Likewise.
* gnu/packages/wicd.scm (wicd)[arguments]: Likewise.
* gnu/packages/wm.scm (bspwm)[arguments]: Likewise.
* gnu/packages/xdisorg.scm (sxhkd, xcape)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfconf)[arguments]: Likewise.
* gnu/packages/xfig.scm (transfig)[arguments]: Likewise.
* gnu/packages/xorg.scm (imake)[arguments]: Likewise.
2017-07-29 11:28:42 -04:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'patch-source-shebangs 'unpatch-source-shebang
|
|
|
|
|
;; revert the patch-shebang phase on a script which is
|
|
|
|
|
;; in fact test data
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/shar-1.ok"
|
|
|
|
|
(((which "sh")) "/bin/sh"))
|
|
|
|
|
#t)))))
|
2017-03-29 18:48:16 -04:00
|
|
|
|
(home-page "https://www.gnu.org/software/sharutils/")
|
2013-10-25 18:24:44 -04:00
|
|
|
|
(synopsis "Archives in shell scripts, uuencode/uudecode")
|
|
|
|
|
(description
|
2013-12-01 16:33:23 -05:00
|
|
|
|
"GNU sharutils is a package for creating and manipulating shell
|
|
|
|
|
archives that can be readily emailed. A shell archive is a file that can be
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 08:16:07 -04:00
|
|
|
|
processed by a Bourne-type shell to unpack the original collection of files.
|
2013-12-01 16:33:23 -05:00
|
|
|
|
This package is mostly for compatibility and historical interest.")
|
2013-10-25 18:24:44 -04:00
|
|
|
|
(license license:gpl3+)))
|
2014-05-29 17:35:45 -04:00
|
|
|
|
|
2015-06-23 15:25:19 -04:00
|
|
|
|
(define-public sfarklib
|
|
|
|
|
(package
|
|
|
|
|
(name "sfarklib")
|
2015-09-16 16:41:10 -04:00
|
|
|
|
(version "2.24")
|
2015-06-23 15:25:19 -04:00
|
|
|
|
(source (origin
|
2015-09-16 16:41:10 -04:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/raboof/sfArkLib/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2015-06-23 15:25:19 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-09-16 16:41:10 -04:00
|
|
|
|
"0bzs2d98rk1xw9qwpnc7gmlbxwmwc3dg1rpn310afy9pq1k9clzi"))))
|
2015-06-23 15:25:19 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/local") (assoc-ref outputs "out")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://github.com/raboof/sfArkLib")
|
|
|
|
|
(synopsis "Library for SoundFont decompression")
|
|
|
|
|
(description
|
|
|
|
|
"SfArkLib is a C++ library for decompressing SoundFont files compressed
|
|
|
|
|
with the sfArk algorithm.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2015-06-23 15:25:57 -04:00
|
|
|
|
(define-public sfarkxtc
|
2016-06-02 07:29:52 -04:00
|
|
|
|
(let ((commit "b5e0a2ba3921f019d74d4b92bd31c36dd19d2cf1"))
|
2015-06-23 15:25:57 -04:00
|
|
|
|
(package
|
|
|
|
|
(name "sfarkxtc")
|
2016-06-02 07:29:52 -04:00
|
|
|
|
(version (string-take commit 10))
|
2015-06-23 15:25:57 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
;; There are no release tarballs, so we just fetch the latest
|
|
|
|
|
;; commit at this time.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/raboof/sfarkxtc.git")
|
2016-06-02 07:29:52 -04:00
|
|
|
|
(commit commit)))
|
2018-03-04 04:50:16 -05:00
|
|
|
|
(file-name (git-file-name name version))
|
2015-06-23 15:25:57 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0f5x6i46qfl6ry21s7g2p4sd4b2r1g4fb03yqi2vv4kq3saryhvj"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/local") (assoc-ref outputs "out")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
|
("sfarklib" ,sfarklib)))
|
|
|
|
|
(home-page "https://github.com/raboof/sfarkxtc")
|
|
|
|
|
(synopsis "Basic sfArk decompressor")
|
|
|
|
|
(description "SfArk extractor converts SoundFonts in the compressed legacy
|
|
|
|
|
sfArk file format to the uncompressed sf2 format.")
|
2016-06-02 07:29:52 -04:00
|
|
|
|
(license license:gpl3+))))
|
2015-06-23 15:25:57 -04:00
|
|
|
|
|
2015-02-20 09:13:34 -05:00
|
|
|
|
(define-public libmspack
|
|
|
|
|
(package
|
|
|
|
|
(name "libmspack")
|
2017-08-17 16:25:30 -04:00
|
|
|
|
(version "0.6")
|
2015-02-20 09:13:34 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.cabextract.org.uk/libmspack/libmspack-"
|
|
|
|
|
version "alpha.tar.gz"))
|
|
|
|
|
(sha256
|
2017-08-17 16:25:30 -04:00
|
|
|
|
(base32 "08gr2pcinas6bdqz3k0286g5cnksmcx813skmdwyca6bmj1fxnqy"))))
|
2015-02-20 09:13:34 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://www.cabextract.org.uk/libmspack/")
|
|
|
|
|
(synopsis "Compression tools for some formats used by Microsoft")
|
|
|
|
|
(description
|
|
|
|
|
"The purpose of libmspack is to provide both compression and
|
|
|
|
|
decompression of some loosely related file formats used by Microsoft.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2015-04-06 15:46:38 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-compress-raw-bzip2
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-compress-raw-bzip2")
|
2017-03-22 06:45:55 -04:00
|
|
|
|
(version "2.074")
|
2015-04-06 15:46:38 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
|
|
|
|
|
"Compress-Raw-Bzip2-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-22 06:45:55 -04:00
|
|
|
|
"0b5jwqf15zr787acnx8sfyy2zavdd7gfkd98n1dgy8fs6r8yb8a4"))))
|
2015-04-06 15:46:38 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
;; TODO: Use our bzip2 package.
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Compress-Raw-Bzip2")
|
|
|
|
|
(synopsis "Low-level interface to bzip2 compression library")
|
|
|
|
|
(description "This module provides a Perl interface to the bzip2
|
|
|
|
|
compression library.")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-04-06 15:50:44 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-compress-raw-zlib
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-compress-raw-zlib")
|
2017-12-15 13:22:41 -05:00
|
|
|
|
(version "2.076")
|
2015-04-06 15:50:44 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
|
|
|
|
|
"Compress-Raw-Zlib-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-15 13:22:41 -05:00
|
|
|
|
"1al2h0i6mspldmlf5c09fy5a4j8swsxd31v6zi8zx9iyqk1lw7in"))))
|
2015-04-06 15:50:44 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before
|
2015-04-19 22:37:28 -04:00
|
|
|
|
'configure 'configure-zlib
|
2015-04-06 15:50:44 -04:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(call-with-output-file "config.in"
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "
|
|
|
|
|
BUILD_ZLIB = False
|
|
|
|
|
INCLUDE = ~a/include
|
|
|
|
|
LIB = ~:*~a/lib
|
|
|
|
|
OLD_ZLIB = False
|
|
|
|
|
GZIP_OS_CODE = AUTO_DETECT"
|
|
|
|
|
(assoc-ref inputs "zlib")))))))))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Compress-Raw-Zlib")
|
|
|
|
|
(synopsis "Low-level interface to zlib compression library")
|
|
|
|
|
(description "This module provides a Perl interface to the zlib
|
|
|
|
|
compression library.")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-04-06 15:52:01 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-io-compress
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-io-compress")
|
2017-03-22 06:50:36 -04:00
|
|
|
|
(version "2.074")
|
2015-04-06 15:52:01 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
|
|
|
|
|
"IO-Compress-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-22 06:50:36 -04:00
|
|
|
|
"1wlpy2026djfmq0bjync531yq6s695jf7bcnpvjphrasi776igdl"))))
|
2015-04-06 15:52:01 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
2017-03-22 06:50:36 -04:00
|
|
|
|
`(("perl-compress-raw-zlib" ,perl-compress-raw-zlib) ; >=2.074
|
|
|
|
|
("perl-compress-raw-bzip2" ,perl-compress-raw-bzip2))) ; >=2.074
|
2015-04-06 15:52:01 -04:00
|
|
|
|
(home-page "http://search.cpan.org/dist/IO-Compress")
|
|
|
|
|
(synopsis "IO Interface to compressed files/buffers")
|
|
|
|
|
(description "IO-Compress provides a Perl interface to allow reading and
|
|
|
|
|
writing of compressed data created with the zlib and bzip2 libraries.")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-09-09 17:04:12 -04:00
|
|
|
|
|
|
|
|
|
(define-public lz4
|
|
|
|
|
(package
|
|
|
|
|
(name "lz4")
|
2018-01-18 21:53:41 -05:00
|
|
|
|
(version "1.8.1.2")
|
2015-09-09 17:04:12 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-01-25 00:22:19 -05:00
|
|
|
|
(uri (string-append "https://github.com/lz4/lz4/archive/"
|
2016-11-24 14:22:25 -05:00
|
|
|
|
"v" version ".tar.gz"))
|
2015-09-09 17:04:12 -04:00
|
|
|
|
(sha256
|
2017-01-25 00:22:19 -05:00
|
|
|
|
(base32
|
2018-01-18 21:53:41 -05:00
|
|
|
|
"1y93h6dyi3026gvpzdv310ldcylnnhwf32n75mdjf8x9fvkskwqj"))
|
2015-09-09 17:04:12 -04:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2016-11-24 14:22:25 -05:00
|
|
|
|
(native-inputs `(("valgrind" ,valgrind))) ; for tests
|
2015-09-09 17:04:12 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:make-flags (list "CC=gcc"
|
2018-01-13 06:23:57 -05:00
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
2015-09-09 17:04:12 -04:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
2016-11-24 14:22:25 -05:00
|
|
|
|
(delete 'configure)))) ; no configure script
|
2017-06-09 03:34:32 -04:00
|
|
|
|
(home-page "http://www.lz4.org")
|
2015-09-09 17:04:12 -04:00
|
|
|
|
(synopsis "Compression algorithm focused on speed")
|
|
|
|
|
(description "LZ4 is a lossless compression algorithm, providing
|
|
|
|
|
compression speed at 400 MB/s per core (0.16 Bytes/cycle). It also features an
|
|
|
|
|
extremely fast decoder, with speed in multiple GB/s per core (0.71 Bytes/cycle).
|
|
|
|
|
A high compression derivative, called LZ4_HC, is also provided. It trades CPU
|
|
|
|
|
time for compression ratio.")
|
2017-08-18 18:09:31 -04:00
|
|
|
|
;; The libraries (lz4, lz4hc, and xxhash) are BSD licenced. The command
|
2015-09-09 17:04:12 -04:00
|
|
|
|
;; line interface programs (lz4, fullbench, fuzzer, datagen) are GPL2+.
|
|
|
|
|
(license (list license:bsd-2 license:gpl2+))))
|
2015-09-25 22:31:07 -04:00
|
|
|
|
|
2017-02-03 11:56:24 -05:00
|
|
|
|
(define-public python-lz4
|
|
|
|
|
(package
|
|
|
|
|
(name "python-lz4")
|
2017-08-03 22:33:28 -04:00
|
|
|
|
(version "0.10.1")
|
2017-02-03 11:56:24 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "lz4" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-08-03 22:33:28 -04:00
|
|
|
|
"0ghv1xbaq693kgww1x9c22bplz479ls9szjsaa4ig778ls834hm0"))))
|
2017-02-03 11:56:24 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2017-08-03 22:33:28 -04:00
|
|
|
|
`(("python-nose" ,python-nose)
|
|
|
|
|
("python-setuptools-scm" ,python-setuptools-scm)))
|
2017-02-03 11:56:24 -05:00
|
|
|
|
(home-page "https://github.com/python-lz4/python-lz4")
|
2017-08-03 22:58:19 -04:00
|
|
|
|
(synopsis "LZ4 bindings for Python")
|
2017-02-03 11:56:24 -05:00
|
|
|
|
(description
|
|
|
|
|
"This package provides python bindings for the lz4 compression library
|
|
|
|
|
by Yann Collet. The project contains bindings for the LZ4 block format and
|
|
|
|
|
the LZ4 frame format.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-lz4
|
|
|
|
|
(package-with-python2 python-lz4))
|
|
|
|
|
|
2017-08-30 11:07:34 -04:00
|
|
|
|
(define-public python-lzstring
|
|
|
|
|
(package
|
|
|
|
|
(name "python-lzstring")
|
|
|
|
|
(version "1.0.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "lzstring" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1d3ck454y41mii0gcjabpmp2skb7n0f9zk232gycqdv8z2jxakfm"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-future" ,python-future)))
|
|
|
|
|
(home-page "https://github.com/gkovacs/lz-string-python")
|
|
|
|
|
(synopsis "String compression")
|
|
|
|
|
(description "Lz-string is a string compressor library for Python.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-lzstring
|
|
|
|
|
(package-with-python2 python-lzstring))
|
|
|
|
|
|
2015-09-25 22:31:07 -04:00
|
|
|
|
(define-public squashfs-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "squashfs-tools")
|
|
|
|
|
(version "4.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 02:35:30 -04:00
|
|
|
|
(uri (string-append "mirror://sourceforge/squashfs/squashfs/"
|
|
|
|
|
"squashfs" version "/"
|
2015-09-25 22:31:07 -04:00
|
|
|
|
"squashfs" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1xpklm0y43nd9i6jw43y2xh5zvlmj9ar2rvknh0bh7kv8c95aq0d"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
"XZ_SUPPORT=1"
|
|
|
|
|
"LZO_SUPPORT=1"
|
|
|
|
|
"LZ4_SUPPORT=1"
|
|
|
|
|
(string-append "INSTALL_DIR=" %output "/bin"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "squashfs-tools"))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lz4" ,lz4)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("xz" ,xz)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://squashfs.sourceforge.net/")
|
2016-09-16 02:08:48 -04:00
|
|
|
|
(synopsis "Tools to create and extract squashfs file systems")
|
2015-09-25 22:31:07 -04:00
|
|
|
|
(description
|
2016-09-16 02:08:48 -04:00
|
|
|
|
"Squashfs is a highly compressed read-only file system for Linux. It uses
|
2015-09-25 22:31:07 -04:00
|
|
|
|
zlib to compress files, inodes, and directories. All blocks are packed to
|
|
|
|
|
minimize the data overhead, and block sizes of between 4K and 1M are supported.
|
|
|
|
|
It is intended to be used for archival use, for live CDs, and for embedded
|
|
|
|
|
systems where low overhead is needed. This package allows you to create and
|
2016-09-16 02:08:48 -04:00
|
|
|
|
extract such file systems.")
|
2015-09-25 22:31:07 -04:00
|
|
|
|
(license license:gpl2+)))
|
2015-09-28 17:55:56 -04:00
|
|
|
|
|
|
|
|
|
(define-public pigz
|
|
|
|
|
(package
|
|
|
|
|
(name "pigz")
|
2018-03-06 20:28:28 -05:00
|
|
|
|
(version "2.4")
|
2015-09-28 17:55:56 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://zlib.net/pigz/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-06 20:28:28 -05:00
|
|
|
|
"0wsgw5vwl23jrnpsvd8v3xcp5k4waw5mk0164fynjhkv58i1dy54"))))
|
2015-09-28 17:55:56 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man1")))
|
|
|
|
|
(install-file "pigz" bin)
|
|
|
|
|
(symlink "pigz" (string-append bin "/unpigz"))
|
|
|
|
|
(install-file "pigz.1" man)
|
|
|
|
|
#t))))
|
|
|
|
|
#:make-flags (list "CC=gcc")
|
|
|
|
|
#:test-target "tests"))
|
|
|
|
|
(inputs `(("zlib" ,zlib)))
|
2018-03-06 20:31:05 -05:00
|
|
|
|
(home-page "https://zlib.net/pigz/")
|
2015-09-28 17:55:56 -04:00
|
|
|
|
(synopsis "Parallel implementation of gzip")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a parallel implementation of gzip that exploits
|
|
|
|
|
multiple processors and multiple cores when compressing data.")
|
|
|
|
|
|
|
|
|
|
;; Things under zopfli/ are under ASL2.0, but 4 files at the top-level,
|
|
|
|
|
;; written by Mark Adler, are under another non-copyleft license.
|
|
|
|
|
(license license:asl2.0)))
|
2016-01-24 17:31:14 -05:00
|
|
|
|
|
|
|
|
|
(define-public pixz
|
|
|
|
|
(package
|
|
|
|
|
(name "pixz")
|
|
|
|
|
(version "1.0.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/vasi/pixz/releases/download/v" version
|
|
|
|
|
"/pixz-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1s3j7zw6j5zi3fhdxg287ndr3wf6swac7z21mqd1pyiln530gi82"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("libarchive" ,libarchive)))
|
|
|
|
|
(home-page "https://github.com/vasi/pixz")
|
|
|
|
|
(synopsis "Parallel indexing implementation of LZMA")
|
|
|
|
|
(description
|
|
|
|
|
"The existing XZ Utils provide great compression in the .xz file format,
|
|
|
|
|
but they produce just one big block of compressed data. Pixz instead produces
|
|
|
|
|
a collection of smaller blocks which makes random access to the original data
|
|
|
|
|
possible and can compress in parallel. This is especially useful for large
|
|
|
|
|
tarballs.")
|
|
|
|
|
(license license:bsd-2)))
|
2016-04-02 02:48:30 -04:00
|
|
|
|
|
|
|
|
|
(define-public brotli
|
|
|
|
|
(let ((commit "e992cce7a174d6e2b3486616499d26bb0bad6448")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "brotli")
|
|
|
|
|
(version (string-append "0.1-" revision "."
|
|
|
|
|
(string-take commit 7)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/bagder/libbrotli.git")
|
|
|
|
|
(commit commit)
|
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qxxsasvwbbbh6dl3138y9h3fg0q2v7xdk5jjc690bdg7g1wrj6n"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; This is a recursive submodule that is unnecessary for this
|
|
|
|
|
;; package, so delete it.
|
|
|
|
|
'(delete-file-recursively "brotli/terryfy"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'autogen
|
|
|
|
|
(lambda _
|
|
|
|
|
(mkdir "m4")
|
|
|
|
|
(zero? (system* "autoreconf" "-vfi")))))))
|
|
|
|
|
(home-page "https://github.com/bagder/libbrotli/")
|
|
|
|
|
(synopsis "Implementation of the Brotli compression algorithm")
|
|
|
|
|
(description
|
|
|
|
|
"Brotli is a general-purpose lossless compression algorithm. It is
|
|
|
|
|
similar in speed to deflate but offers denser compression. This package
|
|
|
|
|
provides encoder and a decoder libraries: libbrotlienc and libbrotlidec,
|
|
|
|
|
respectively, based on the reference implementation from Google.")
|
|
|
|
|
(license license:expat))))
|
2016-04-17 13:30:37 -04:00
|
|
|
|
|
|
|
|
|
(define-public cabextract
|
|
|
|
|
(package
|
|
|
|
|
(name "cabextract")
|
|
|
|
|
(version "1.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://cabextract.org.uk/cabextract-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ysmmz25fjghq7mxb2anyyvr1ljxqxzi4piwjhk0sdamcnsn3rnf"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments '(#:configure-flags '("--with-external-libmspack")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libmspack" ,libmspack)))
|
|
|
|
|
(home-page "http://www.cabextract.org.uk/")
|
|
|
|
|
(synopsis "Tool to unpack Cabinet archives")
|
|
|
|
|
(description "Extracts files out of Microsoft Cabinet (.cab) archives")
|
|
|
|
|
;; Some source files specify gpl2+, lgpl2+, however COPYING is gpl3.
|
|
|
|
|
(license license:gpl3+)))
|
2016-07-16 20:48:42 -04:00
|
|
|
|
|
|
|
|
|
(define-public xdelta
|
|
|
|
|
(package
|
|
|
|
|
(name "xdelta")
|
|
|
|
|
(version "3.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/jmacd/xdelta/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"17g2pbbqy6h20qgdjq7ykib7kg5ajh8fwbsfgyjqg8pwg19wy5bm"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(snippet
|
|
|
|
|
;; This file isn't freely distributable and has no effect on building.
|
|
|
|
|
'(delete-file "xdelta3/draft-korn-vcdiff.txt"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-build-directory
|
|
|
|
|
(lambda _ (chdir "xdelta3")))
|
gnu: Put autoconf-related phases immediately after the 'unpack phase.
* gnu/packages/audio.scm (audacity, rtmidi)[arguments]: Correct phases
accordingly.
* gnu/packages/bioinformatics.scm (mash, seek, vsearch, emboss,
htslib-for-sambamba)[arguments]: Likewise.
* gnu/packages/ci.scm (cuirass)[arguments]: Likewise.
* gnu/packages/compression.scm (minizip, xdelta)[arguments]: Likewise.
* gnu/packages/cpp.scm (libzen)[arguments]: Likewise.
* gnu/packages/crypto.scm (opendht)[arguments]: Likewise.
* gnu/packages/databases.scm (4store, mdbtools)[arguments]: Likewise.
* gnu/packages/debug.scm (stress-make)[arguments]: Likewise.
* gnu/packages/dns.scm (dnscrypt-proxy, dnscrypt-wrapper)[arguments]:
Likewise.
* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Likewise.
* gnu/packages/embedded.scm (libjaylink, openocd)[arguments]: Likewise.
* gnu/packages/engineering.scm (gerbv)[arguments]: Likewise.
* gnu/packages/erlang.scm (erlang)[arguments]: Likewise.
* gnu/packages/ftp.scm (weex)[arguments]: Likewise.
* gnu/packages/gnome.scm (dia)[arguments]: Likewise.
* gnu/packages/gnunet.scm (gnurl, guile-gnunet)[arguments]: Likewise.
* gnu/packages/gtk.scm (guile-rsvg, graphene)[arguments]: Likewise.
* gnu/packages/guile.scm (guildhall, guile-ics, guile-sqlite3)[arguments]:
Likewise.
* gnu/packages/ibus.scm (ibus-libpinyin)[arguments]: Likewise.
* gnu/packages/irc.scm (weechat)[arguments]: Likewise.
* gnu/packages/java.scm (classpath-devel)[arguments]: Likewise.
* gnu/packages/libreoffice.scm (libetonyek)[arguments]: Likewise.
* gnu/packages/libusb.scm (hidapi)[arguments]: Likewise.
* gnu/packages/linux.scm (gpm)[arguments]: Likewise.
* gnu/packages/logging.scm (glog)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (ghmm)[arguments]: Likewise.
* gnu/packages/mail.scm (dovecot-trees, dovecot-libsodium-plugin, esmtp)
[arguments]: Likewise.
* gnu/packages/messaging.scm (freetalk, libmesode, libstrophe)[arguments]:
Likewise.
* gnu/packages/microcom.scm (microcom)[arguments]: Likewise.
* gnu/packages/ocaml.scm (ocaml-ssl)[arguments]: Likewise.
* gnu/packages/parallel.scm (slurm)[arguments]: Likewise.
* gnu/packages/pdf.scm (libharu)[arguments]: Likewise.
* gnu/packages/samba.scm (cifs-utils)[arguments]: Likewise.
* gnu/packages/serialization.scm (msgpack)[arguments]: Likewise.
* gnu/packages/shells.scm (scsh)[arguments]: Likewise.
* gnu/packages/telephony.scm (libiax2)[arguments]: Likewise.
* gnu/packages/textutils.scm (dotconf)[arguments]: Likewise.
* gnu/packages/version-control.scm (findnewest)[arguments]: Likewise.
* gnu/packages/video.scm (libmediainfo, mediainfo)[arguments]: Likewise.
2017-07-30 21:02:35 -04:00
|
|
|
|
(add-after 'enter-build-directory 'autoconf
|
2016-07-16 20:48:42 -04:00
|
|
|
|
(lambda _ (zero? (system* "autoreconf" "-vfi")))))))
|
2017-12-13 12:01:00 -05:00
|
|
|
|
(home-page "http://xdelta.org")
|
2016-07-16 20:48:42 -04:00
|
|
|
|
(synopsis "Delta encoder for binary files")
|
|
|
|
|
(description "xdelta encodes only the differences between two binary files
|
|
|
|
|
using the VCDIFF algorithm and patch file format described in RFC 3284. It can
|
|
|
|
|
also be used to apply such patches. xdelta is similar to @command{diff} and
|
|
|
|
|
@command{patch}, but is not limited to plain text and does not generate
|
|
|
|
|
human-readable output.")
|
|
|
|
|
(license license:asl2.0)))
|
2016-07-13 18:22:16 -04:00
|
|
|
|
|
|
|
|
|
(define-public lrzip
|
|
|
|
|
(package
|
|
|
|
|
(name "lrzip")
|
2016-10-20 23:14:01 -04:00
|
|
|
|
(version "0.631")
|
2016-07-13 18:22:16 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://ck.kolivas.org/apps/lrzip/lrzip-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-12 13:08:04 -04:00
|
|
|
|
"0mb449vmmwpkalq732jdyginvql57nxyd31sszb108yps1lf448d"))
|
|
|
|
|
(patches (search-patches "lrzip-CVE-2017-8842.patch"))))
|
2016-07-13 18:22:16 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(;; nasm is only required when building for 32-bit x86 platforms
|
|
|
|
|
,@(if (string-prefix? "i686" (or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
`(("nasm" ,nasm))
|
|
|
|
|
'())
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://ck.kolivas.org/apps/lrzip/")
|
|
|
|
|
(synopsis "Large file compressor with a very high compression ratio")
|
|
|
|
|
(description "lrzip is a compression utility that uses long-range
|
|
|
|
|
redundancy reduction to improve the subsequent compression ratio of
|
|
|
|
|
larger files. It can then further compress the result with the ZPAQ or
|
|
|
|
|
LZMA algorithms for maximum compression, or LZO for maximum speed. This
|
|
|
|
|
choice between size or speed allows for either better compression than
|
|
|
|
|
even LZMA can provide, or a higher speed than gzip while compressing as
|
|
|
|
|
well as bzip2.")
|
|
|
|
|
(license (list license:gpl3+
|
|
|
|
|
license:public-domain)))) ; most files in lzma/
|
2016-08-14 19:17:18 -04:00
|
|
|
|
|
2017-11-03 12:31:27 -04:00
|
|
|
|
(define-public bitshuffle
|
|
|
|
|
(package
|
|
|
|
|
(name "bitshuffle")
|
2017-12-25 17:05:39 -05:00
|
|
|
|
(version "0.3.4")
|
2017-11-03 12:31:27 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "bitshuffle" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-25 17:05:39 -05:00
|
|
|
|
"0ydawb01ghsvmw0lraczhrgvkjj97bpg98f1qqs1cnfp953mdd5v"))))
|
2017-11-03 12:31:27 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2017-12-25 17:05:39 -05:00
|
|
|
|
`(#:tests? #f)) ; fail: https://github.com/h5py/h5py/issues/769
|
2017-11-03 12:31:27 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("numpy" ,python-numpy)
|
|
|
|
|
("h5py" ,python-h5py)
|
|
|
|
|
("hdf5" ,hdf5)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("cython" ,python-cython)))
|
|
|
|
|
(home-page "https://github.com/kiyo-masui/bitshuffle")
|
|
|
|
|
(synopsis "Filter for improving compression of typed binary data")
|
|
|
|
|
(description "Bitshuffle is an algorithm that rearranges typed, binary data
|
|
|
|
|
for improving compression, as well as a python/C package that implements this
|
|
|
|
|
algorithm within the Numpy framework.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2016-08-14 19:17:18 -04:00
|
|
|
|
(define-public snappy
|
|
|
|
|
(package
|
|
|
|
|
(name "snappy")
|
2018-02-20 21:14:52 -05:00
|
|
|
|
(version "1.1.7")
|
2016-08-14 19:17:18 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-02-20 21:14:52 -05:00
|
|
|
|
(uri (string-append "https://github.com/google/snappy/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append "snappy-" version ".tar.gz"))
|
2016-08-14 19:17:18 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-20 21:14:52 -05:00
|
|
|
|
"1m7rcdqzkys5lspj8jcsaah8w33zh28s771bw0ga2lgzfgl05yix"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
|
2016-08-14 19:17:18 -04:00
|
|
|
|
(home-page "https://github.com/google/snappy")
|
|
|
|
|
(synopsis "Fast compressor/decompressor")
|
2018-02-20 21:14:52 -05:00
|
|
|
|
(description "Snappy is a compression/decompression library. It does not
|
2016-08-14 19:17:18 -04:00
|
|
|
|
aim for maximum compression, or compatibility with any other compression library;
|
2018-02-20 21:14:52 -05:00
|
|
|
|
instead, it aims for very high speeds and reasonable compression. For instance,
|
2016-08-14 19:17:18 -04:00
|
|
|
|
compared to the fastest mode of zlib, Snappy is an order of magnitude faster
|
|
|
|
|
for most inputs, but the resulting compressed files are anywhere from 20% to
|
|
|
|
|
100% bigger.")
|
|
|
|
|
(license license:asl2.0)))
|
2016-08-27 06:33:26 -04:00
|
|
|
|
|
2017-11-03 09:17:12 -04:00
|
|
|
|
(define bitshuffle-for-snappy
|
|
|
|
|
(package
|
|
|
|
|
(inherit bitshuffle)
|
|
|
|
|
(name "bitshuffle-for-snappy")
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(with-output-to-file "Makefile"
|
|
|
|
|
(lambda _
|
2017-11-18 06:56:35 -05:00
|
|
|
|
(format #t "\
|
|
|
|
|
libbitshuffle.so: src/bitshuffle.o src/bitshuffle_core.o src/iochain.o lz4/lz4.o
|
|
|
|
|
\tgcc -O3 -ffast-math -std=c99 -o $@ -shared -fPIC $^
|
|
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
|
\tgcc -O3 -ffast-math -std=c99 -fPIC -Isrc -Ilz4 -c $< -o $@
|
|
|
|
|
|
|
|
|
|
PREFIX:=~a
|
|
|
|
|
LIBDIR:=$(PREFIX)/lib
|
|
|
|
|
INCLUDEDIR:=$(PREFIX)/include
|
|
|
|
|
|
|
|
|
|
install: libbitshuffle.so
|
|
|
|
|
\tinstall -dm755 $(LIBDIR)
|
|
|
|
|
\tinstall -dm755 $(INCLUDEDIR)
|
|
|
|
|
\tinstall -m755 libbitshuffle.so $(LIBDIR)
|
|
|
|
|
\tinstall -m644 src/bitshuffle.h $(INCLUDEDIR)
|
|
|
|
|
\tinstall -m644 src/bitshuffle_core.h $(INCLUDEDIR)
|
|
|
|
|
\tinstall -m644 src/iochain.h $(INCLUDEDIR)
|
|
|
|
|
\tinstall -m644 lz4/lz4.h $(INCLUDEDIR)
|
|
|
|
|
" (assoc-ref outputs "out"))))
|
|
|
|
|
#t)))))
|
2017-11-03 09:17:12 -04:00
|
|
|
|
(inputs '())
|
|
|
|
|
(native-inputs '())))
|
|
|
|
|
|
|
|
|
|
(define-public java-snappy
|
|
|
|
|
(package
|
|
|
|
|
(name "java-snappy")
|
2018-02-20 22:26:29 -05:00
|
|
|
|
(version "1.1.7")
|
2017-11-03 09:17:12 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/xerial/snappy-java/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-20 22:26:29 -05:00
|
|
|
|
"0q4kxz2n97czf6g5gzq0d8yz22cgiaj7wp51rzsswh3bi99bpgg5"))))
|
2017-11-03 09:17:12 -04:00
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "snappy.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'remove-binaries
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "lib/org/xerial/snappy/OSInfo.class")
|
|
|
|
|
(delete-file-recursively "src/main/resources/org/xerial/snappy/native")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'build-jni
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Rebuild one of the binaries we removed earlier
|
|
|
|
|
(system* "javac" "src/main/java/org/xerial/snappy/OSInfo.java"
|
|
|
|
|
"-d" "lib")
|
|
|
|
|
;; Link to the dynamic bitshuffle and snappy, not the static ones
|
|
|
|
|
(substitute* "Makefile.common"
|
|
|
|
|
(("-shared")
|
|
|
|
|
"-shared -lbitshuffle -lsnappy"))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
;; Don't try to use git, don't download bitshuffle source
|
|
|
|
|
;; and don't build it.
|
|
|
|
|
(("\\$\\(SNAPPY_GIT_UNPACKED\\) ")
|
|
|
|
|
"")
|
|
|
|
|
((": \\$\\(SNAPPY_GIT_UNPACKED\\)")
|
|
|
|
|
":")
|
|
|
|
|
(("\\$\\(BITSHUFFLE_UNPACKED\\) ")
|
|
|
|
|
"")
|
|
|
|
|
((": \\$\\(SNAPPY_SOURCE_CONFIGURED\\)") ":")
|
|
|
|
|
;; What we actually want to build
|
|
|
|
|
(("SNAPPY_OBJ:=.*")
|
|
|
|
|
"SNAPPY_OBJ:=$(addprefix $(SNAPPY_OUT)/, \
|
|
|
|
|
SnappyNative.o BitShuffleNative.o)\n")
|
|
|
|
|
;; Since we removed the directory structure in "native" during
|
|
|
|
|
;; the previous phase, we need to recreate it.
|
|
|
|
|
(("NAME\\): \\$\\(SNAPPY_OBJ\\)")
|
|
|
|
|
"NAME): $(SNAPPY_OBJ)\n\t@mkdir -p $(@D)"))
|
|
|
|
|
;; Finally we can run the Makefile to build the dynamic library.
|
2018-02-20 22:26:29 -05:00
|
|
|
|
;; Use the -nocmake target to avoid a dependency on cmake,
|
|
|
|
|
;; which in turn requires the "git_unpacked" directory.
|
|
|
|
|
(invoke "make" "native-nocmake")))
|
2017-11-03 09:17:12 -04:00
|
|
|
|
;; Once we have built the shared library, we need to place it in the
|
|
|
|
|
;; "build" directory so it can be added to the jar file.
|
|
|
|
|
(add-after 'build-jni 'copy-jni
|
|
|
|
|
(lambda _
|
|
|
|
|
(copy-recursively "src/main/resources/org/xerial/snappy/native"
|
|
|
|
|
"build/classes/org/xerial/snappy/native")))
|
|
|
|
|
(add-before 'check 'fix-failing
|
|
|
|
|
(lambda _
|
2018-02-20 22:26:29 -05:00
|
|
|
|
(with-directory-excursion "src/test/java/org/xerial/snappy"
|
|
|
|
|
;; This package assumes maven build, which puts results in "target".
|
|
|
|
|
;; We put them in "build" instead, so fix that.
|
|
|
|
|
(substitute* "SnappyLoaderTest.java"
|
|
|
|
|
(("target/classes") "build/classes"))
|
|
|
|
|
;; This requires Hadoop, which is not in Guix yet.
|
|
|
|
|
(delete-file "SnappyHadoopCompatibleOutputStreamTest.java"))
|
|
|
|
|
#t)))))
|
2017-11-03 09:17:12 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("osgi-framework" ,java-osgi-framework)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("bitshuffle" ,bitshuffle-for-snappy)
|
|
|
|
|
("snappy" ,snappy)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("junit" ,java-junit)
|
|
|
|
|
("hamcrest" ,java-hamcrest-core)
|
|
|
|
|
("xerial-core" ,java-xerial-core)
|
|
|
|
|
("classworlds" ,java-plexus-classworlds)
|
2018-02-20 22:26:29 -05:00
|
|
|
|
("commons-lang" ,java-commons-lang)
|
|
|
|
|
("commons-io" ,java-commons-io)
|
2017-11-03 09:17:12 -04:00
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(home-page "https://github.com/xerial/snappy-java")
|
|
|
|
|
(synopsis "Compression/decompression algorithm in Java")
|
|
|
|
|
(description "Snappy-java is a Java port of the snappy, a fast C++
|
|
|
|
|
compresser/decompresser.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2017-11-18 17:56:50 -05:00
|
|
|
|
(define-public java-snappy-1
|
|
|
|
|
(package
|
|
|
|
|
(inherit java-snappy)
|
|
|
|
|
(version "1.0.3-rc3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/xerial/snappy-java/archive/"
|
|
|
|
|
"snappy-java-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"08hsxlqidiqck0q57fshwyv3ynyxy18vmhrai9fyc8mz17m7gsa3"))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "snappy.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'remove-binaries
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "lib/org/xerial/snappy/OSInfo.class")
|
|
|
|
|
(delete-file-recursively "src/main/resources/org/xerial/snappy/native")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'build-jni
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Rebuild one of the binaries we removed earlier
|
|
|
|
|
(system* "javac" "src/main/java/org/xerial/snappy/OSInfo.java"
|
|
|
|
|
"-d" "lib")
|
|
|
|
|
;; Link to the dynamic snappy, not the static ones
|
|
|
|
|
(substitute* "Makefile.common"
|
|
|
|
|
(("-shared") "-shared -lsnappy"))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
;; Don't download the sources here.
|
|
|
|
|
(("\\$\\(SNAPPY_UNPACKED\\) ") "")
|
|
|
|
|
((": \\$\\(SNAPPY_UNPACKED\\) ") ":")
|
|
|
|
|
;; What we actually want to build
|
|
|
|
|
(("SNAPPY_OBJ:=.*")
|
|
|
|
|
"SNAPPY_OBJ:=$(addprefix $(SNAPPY_OUT)/, SnappyNative.o)\n")
|
|
|
|
|
;; Since we removed the directory structure in "native" during
|
|
|
|
|
;; the previous phase, we need to recreate it.
|
|
|
|
|
(("NAME\\): \\$\\(SNAPPY_OBJ\\)")
|
|
|
|
|
"NAME): $(SNAPPY_OBJ)\n\t@mkdir -p $(@D)"))
|
|
|
|
|
;; Finally we can run the Makefile to build the dynamic library.
|
|
|
|
|
(zero? (system* "make" "native"))))
|
|
|
|
|
;; Once we have built the shared library, we need to place it in the
|
|
|
|
|
;; "build" directory so it can be added to the jar file.
|
|
|
|
|
(add-after 'build-jni 'copy-jni
|
|
|
|
|
(lambda _
|
|
|
|
|
(copy-recursively "src/main/resources/org/xerial/snappy/native"
|
|
|
|
|
"build/classes/org/xerial/snappy/native")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'fix-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(mkdir-p "src/test/resources/org/xerial/snappy/")
|
|
|
|
|
(copy-recursively "src/test/java/org/xerial/snappy/testdata"
|
|
|
|
|
"src/test/resources/org/xerial/snappy/testdata")
|
|
|
|
|
(install-file "src/test/java/org/xerial/snappy/alice29.txt"
|
|
|
|
|
"src/test/resources/org/xerial/snappy/")
|
|
|
|
|
#t)))))))
|
|
|
|
|
|
2017-11-05 05:12:05 -05:00
|
|
|
|
(define-public java-iq80-snappy
|
|
|
|
|
(package
|
|
|
|
|
(name "java-iq80-snappy")
|
|
|
|
|
(version "0.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/dain/snappy/archive/snappy-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0rb3zhci7w9wzd65lfnk7p3ip0n6gb58a9qpx8n7r0231gahyamf"))))
|
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:jar-name "iq80-snappy.jar"
|
|
|
|
|
#:source-dir "src/main/java"
|
|
|
|
|
#:test-dir "src/test"
|
|
|
|
|
#:jdk ,icedtea-8
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(define (test class)
|
|
|
|
|
(zero? (system* "java" "-cp" (string-append (getenv "CLASSPATH")
|
|
|
|
|
":build/classes"
|
|
|
|
|
":build/test-classes")
|
|
|
|
|
"-Dtest.resources.dir=src/test/resources"
|
|
|
|
|
"org.testng.TestNG" "-testclass"
|
|
|
|
|
class)))
|
|
|
|
|
(system* "ant" "compile-tests")
|
|
|
|
|
(and
|
|
|
|
|
(test "org.iq80.snappy.SnappyFramedStreamTest")
|
|
|
|
|
(test "org.iq80.snappy.SnappyStreamTest"))))
|
|
|
|
|
(add-before 'build 'remove-hadoop-dependency
|
|
|
|
|
(lambda _
|
|
|
|
|
;; We don't have hadoop
|
|
|
|
|
(delete-file "src/main/java/org/iq80/snappy/HadoopSnappyCodec.java")
|
|
|
|
|
(delete-file "src/test/java/org/iq80/snappy/TestHadoopSnappyCodec.java")
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://github.com/dain/snappy")
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("guava" ,java-guava)
|
|
|
|
|
("java-snappy" ,java-snappy)
|
|
|
|
|
("hamcrest" ,java-hamcrest-core)
|
|
|
|
|
("testng" ,java-testng)))
|
2018-01-21 16:14:13 -05:00
|
|
|
|
(synopsis "Java port of the Snappy (de)compressor")
|
|
|
|
|
(description
|
|
|
|
|
"Iq80-snappy is a port of the Snappy compressor and decompressor rewritten
|
|
|
|
|
in pure Java. This compression code produces a byte-for-byte exact copy of the
|
|
|
|
|
output created by the original C++ code, and is extremely fast.")
|
2017-11-05 05:12:05 -05:00
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2017-11-20 09:44:48 -05:00
|
|
|
|
(define-public java-jbzip2
|
|
|
|
|
(package
|
|
|
|
|
(name "java-jbzip2")
|
|
|
|
|
(version "0.9.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://storage.googleapis.com/"
|
|
|
|
|
"google-code-archive-source/v2/"
|
|
|
|
|
"code.google.com/jbzip2/"
|
|
|
|
|
"source-archive.zip"))
|
|
|
|
|
(file-name (string-append name "-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ncmhlqmrfmj96nqf6p77b9ws35lcfsvpfxzwxi2asissc83z1l3"))))
|
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)
|
|
|
|
|
("java-junit" ,java-junit)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:jar-name "jbzip2.jar"
|
|
|
|
|
#:source-dir "tags/release-0.9.1/src"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-encoding-problems
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Some of the files we're patching are
|
|
|
|
|
;; ISO-8859-1-encoded, so choose it as the default
|
|
|
|
|
;; encoding so the byte encoding is preserved.
|
|
|
|
|
(with-fluids ((%default-port-encoding #f))
|
|
|
|
|
(substitute* "tags/release-0.9.1/src/org/itadaki/bzip2/HuffmanAllocator.java"
|
|
|
|
|
(("Milidi.") "Milidiu")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://code.google.com/archive/p/jbzip2/")
|
|
|
|
|
(synopsis "Java bzip2 compression/decompression library")
|
|
|
|
|
(description "Jbzip2 is a Java bzip2 compression/decompression library.
|
|
|
|
|
It can be used as a replacement for the Apache @code{CBZip2InputStream} /
|
|
|
|
|
@code{CBZip2OutputStream} classes.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2016-08-27 06:33:26 -04:00
|
|
|
|
(define-public p7zip
|
|
|
|
|
(package
|
|
|
|
|
(name "p7zip")
|
|
|
|
|
(version "16.02")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/" name "/" name "/"
|
|
|
|
|
version "/" name "_" version
|
|
|
|
|
"_src_all.tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07rlwbbgszq8i7m8jh3x6j2w2hc9a72dc7fmqawnqkwlwb00mcjy"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove non-free source files
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(append
|
|
|
|
|
(find-files "CPP/7zip/Compress" "Rar.*")
|
|
|
|
|
(find-files "CPP/7zip/Crypto" "Rar.*")
|
|
|
|
|
(find-files "DOC/unRarLicense.txt")
|
|
|
|
|
(find-files "Utils/file_Codecs_Rar_so.py")))
|
|
|
|
|
(delete-file-recursively "CPP/7zip/Archive/Rar")
|
|
|
|
|
(delete-file-recursively "CPP/7zip/Compress/Rar")
|
|
|
|
|
#t))
|
2017-02-03 15:17:41 -05:00
|
|
|
|
(patches (search-patches "p7zip-CVE-2016-9296.patch"
|
2018-02-05 16:21:12 -05:00
|
|
|
|
"p7zip-CVE-2017-17969.patch"
|
2017-02-03 15:17:41 -05:00
|
|
|
|
"p7zip-remove-unused-code.patch"))))
|
2016-08-27 06:33:26 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "DEST_HOME=" (assoc-ref %outputs "out")) "all3")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key system outputs #:allow-other-keys)
|
|
|
|
|
(zero? (system* "cp"
|
|
|
|
|
(let ((system ,(or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
|
|
|
|
(cond
|
|
|
|
|
((string-prefix? "x86_64" system)
|
|
|
|
|
"makefile.linux_amd64_asm")
|
|
|
|
|
((string-prefix? "i686" system)
|
|
|
|
|
"makefile.linux_x86_asm_gcc_4.X")
|
|
|
|
|
(else
|
|
|
|
|
"makefile.linux_any_cpu_gcc_4.X")))
|
|
|
|
|
"makefile.machine"))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(and (zero? (system* "make" "test"))
|
|
|
|
|
(zero? (system* "make" "test_7z"))
|
|
|
|
|
(zero? (system* "make" "test_7zr"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(let ((system (or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
|
|
|
|
`(,@(cond ((string-prefix? "x86_64" system)
|
|
|
|
|
`(("yasm" ,yasm)))
|
|
|
|
|
((string-prefix? "i686" system)
|
|
|
|
|
`(("nasm" ,nasm)))
|
|
|
|
|
(else '())))))
|
|
|
|
|
(home-page "http://p7zip.sourceforge.net/")
|
|
|
|
|
(synopsis "Command-line file archiver with high compression ratio")
|
|
|
|
|
(description "p7zip is a command-line port of 7-Zip, a file archiver that
|
|
|
|
|
handles the 7z format which features very high compression ratios.")
|
|
|
|
|
(license (list license:lgpl2.1+
|
|
|
|
|
license:gpl2+
|
|
|
|
|
license:public-domain))))
|
2016-08-11 21:29:51 -04:00
|
|
|
|
|
|
|
|
|
(define-public gzstream
|
|
|
|
|
(package
|
|
|
|
|
(name "gzstream")
|
|
|
|
|
(version "1.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
;; No versioned URL, but last release was in 2003.
|
|
|
|
|
"http://www.cs.unc.edu/Research/compgeom/gzstream/gzstream.tgz")
|
|
|
|
|
(file-name (string-append name "-" version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00y19pqjsdj5zcrx4p9j56pl73vayfwnb7y2hvp423nx0cwv5b4r"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove pre-compiled object.
|
|
|
|
|
'(delete-file "gzstream.o"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(include (string-append out "/include")))
|
|
|
|
|
(install-file "libgzstream.a" lib)
|
|
|
|
|
(install-file "gzstream.h" include)
|
|
|
|
|
#t))))))
|
|
|
|
|
(propagated-inputs `(("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://www.cs.unc.edu/Research/compgeom/gzstream/")
|
|
|
|
|
(synopsis "Compressed C++ iostream")
|
|
|
|
|
(description "gzstream is a small library for providing zlib
|
|
|
|
|
functionality in a C++ iostream.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2016-08-18 11:06:10 -04:00
|
|
|
|
|
|
|
|
|
(define-public zpaq
|
|
|
|
|
(package
|
|
|
|
|
(name "zpaq")
|
|
|
|
|
(version "7.15")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch/zipbomb)
|
|
|
|
|
(uri (string-append "http://mattmahoney.net/dc/zpaq"
|
|
|
|
|
(string-delete #\. version) ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"066l94yyladlfzri877nh2dhkvspagjn3m5bmv725fmhkr9c4pp8"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Delete irrelevant pre-compiled binaries.
|
|
|
|
|
'(for-each delete-file (find-files "." "\\.exe$")))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)) ; no ‘configure’ script
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "CPPFLAGS=-Dunix"
|
|
|
|
|
,(match (or (%current-target-system)
|
|
|
|
|
(%current-system))
|
|
|
|
|
("x86_64-linux" "")
|
|
|
|
|
("i686-linux" "")
|
|
|
|
|
(_ " -DNOJIT")))
|
|
|
|
|
;; These should be safe, lowest-common-denominator instruction sets,
|
|
|
|
|
;; allowing for some optimisation while remaining reproducible.
|
2017-02-03 12:17:47 -05:00
|
|
|
|
(string-append "CXXFLAGS=-O3 -DNDEBUG"
|
2016-08-18 11:06:10 -04:00
|
|
|
|
,(match (or (%current-target-system)
|
|
|
|
|
(%current-system))
|
2017-02-03 12:17:47 -05:00
|
|
|
|
("x86_64-linux" " -march=nocona -mtune=generic")
|
|
|
|
|
("i686-linux" " -march=i686 -mtune=generic")
|
|
|
|
|
("armhf-linux" " -mtune=generic-armv7-a")
|
2016-08-18 11:06:10 -04:00
|
|
|
|
(_ "")))
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl))) ; for pod2man
|
|
|
|
|
(home-page "http://mattmahoney.net/dc/zpaq.html")
|
|
|
|
|
(synopsis "Incremental journaling archiver")
|
|
|
|
|
(description "ZPAQ is a command-line archiver for realistic situations with
|
|
|
|
|
many duplicate and already compressed files. It backs up only those files
|
|
|
|
|
modified since the last update. All previous versions remain untouched and can
|
|
|
|
|
be independently recovered. Identical files are only stored once (known as
|
|
|
|
|
@dfn{de-duplication}). Archives can also be encrypted.
|
|
|
|
|
|
|
|
|
|
ZPAQ is intended to back up user data, not entire operating systems. It ignores
|
|
|
|
|
owner and group IDs, ACLs, extended attributes, or special file types like
|
|
|
|
|
devices, sockets, or named pipes. It does not follow or restore symbolic links
|
|
|
|
|
or junctions, and always follows hard links.")
|
|
|
|
|
(license (list license:public-domain
|
|
|
|
|
;; libzpaq.cpp contains a mix of public-domain and
|
|
|
|
|
;; expat-licenced (or ‘MIT’) code.
|
|
|
|
|
license:expat))))
|
2017-03-01 01:00:05 -05:00
|
|
|
|
|
2017-04-23 13:23:45 -04:00
|
|
|
|
(define-public unshield
|
|
|
|
|
(package
|
|
|
|
|
(name "unshield")
|
|
|
|
|
(version "1.4.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin (method url-fetch)
|
|
|
|
|
(uri (string-append "http://github.com/twogood/unshield/archive/"
|
|
|
|
|
version ".tar.gz"))
|
2018-03-04 04:51:08 -05:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2017-04-23 13:23:45 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0x7ps644yp5dka2zhb8w0ifqmw3d255jafpzfwv8xbcpgq6fmm2x"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
;; test data that is otherwise downloaded with curl
|
|
|
|
|
("unshield-avigomanager11b22.zip"
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
2017-06-06 03:25:28 -04:00
|
|
|
|
(uri (string-append "https://www.dropbox.com/s/8r4b6752swe3nhu/"
|
|
|
|
|
"unshield-avigomanager11b22.zip?dl=1"))
|
2017-04-23 13:23:45 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0fwq7lih04if68wpwpsk5wjqyvh32db76a41sq6gbx4dn1lc3ddn"))
|
|
|
|
|
(file-name "unshield-avigomanager11b22.zip")))
|
|
|
|
|
("unshield-the-feeble-files-spanish.zip"
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
2017-06-06 03:25:28 -04:00
|
|
|
|
(uri (string-append "https://www.dropbox.com/s/1ng0z9kfxc7eb1e/"
|
|
|
|
|
"unshield-the-feeble-files-spanish.zip?dl=1"))
|
2017-04-23 13:23:45 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1k5cw6vnpja8yjlnhx5124xrw9i8s1l539hfdqqrqz3l5gn0bnyd"))
|
|
|
|
|
(file-name "unshield-the-feeble-files-spanish.zip")))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:out-of-source? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(for-each (lambda (i)
|
|
|
|
|
(copy-file (assoc-ref inputs i)
|
|
|
|
|
(string-append "test/v0/" i)))
|
|
|
|
|
'("unshield-avigomanager11b22.zip"
|
|
|
|
|
"unshield-the-feeble-files-spanish.zip"))
|
|
|
|
|
(substitute* (find-files "test/" "/*\\.sh")
|
|
|
|
|
;; Tests expect the unshield binary in a specific
|
|
|
|
|
;; location.
|
|
|
|
|
(("/var/tmp/unshield/bin/unshield")
|
|
|
|
|
(string-append (getcwd) "/src/unshield"))
|
|
|
|
|
;; We no longer need to download the data.
|
|
|
|
|
((".?URL=.*$") "")
|
|
|
|
|
(("curl -(|f)sSL -o test.zip .*") ""))
|
|
|
|
|
(substitute* "test/v0/avigomanager.sh"
|
|
|
|
|
(("test.zip")
|
|
|
|
|
(string-append (getcwd)
|
|
|
|
|
"/test/v0/unshield-avigomanager11b22.zip")))
|
|
|
|
|
(substitute* "test/v0/the-feeble-files-spanish.sh"
|
|
|
|
|
(("test.zip")
|
|
|
|
|
(string-append (getcwd)
|
|
|
|
|
"/test/v0/unshield-the-feeble-files-spanish.zip")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "./run-tests.sh")))))))
|
|
|
|
|
(home-page "https://github.com/twogood/unshield")
|
|
|
|
|
(synopsis "Extract CAB files from InstallShield installers")
|
|
|
|
|
(description
|
|
|
|
|
"@command{unshield} is a tool and library for extracting @file{.cab}
|
|
|
|
|
archives from InstallShield installers.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2016-11-05 10:45:53 -04:00
|
|
|
|
(define-public zstd
|
|
|
|
|
(package
|
|
|
|
|
(name "zstd")
|
2017-12-21 09:03:02 -05:00
|
|
|
|
(version "1.3.3")
|
2016-11-05 10:45:53 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/facebook/zstd/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-21 09:03:02 -05:00
|
|
|
|
"0yr91gwi380632w9y7p6idl72svq0mq0jajvdii05pp77qalfz57"))))
|
2016-11-05 10:45:53 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)) ; no configure script
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
2017-12-21 11:44:03 -05:00
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
;; Skip auto-detection of, and creating a dependency on, the build
|
|
|
|
|
;; environment's ‘xz’ for what amounts to a dubious feature anyway.
|
|
|
|
|
"HAVE_LZMA=0"
|
|
|
|
|
;; Not currently detected, but be explicit & avoid surprises later.
|
|
|
|
|
"HAVE_LZ4=0"
|
2017-12-21 18:14:07 -05:00
|
|
|
|
"HAVE_ZLIB=0")))
|
2016-11-05 10:45:53 -04:00
|
|
|
|
(home-page "http://zstd.net/")
|
|
|
|
|
(synopsis "Zstandard real-time compression algorithm")
|
|
|
|
|
(description "Zstandard (@command{zstd}) is a lossless compression algorithm
|
|
|
|
|
that combines very fast operation with a compression ratio comparable to that of
|
|
|
|
|
zlib. In most scenarios, both compression and decompression can be performed in
|
|
|
|
|
‘real time’. The compressor can be configured to provide the most suitable
|
|
|
|
|
trade-off between compression ratio and speed, without affecting decompression
|
|
|
|
|
speed.")
|
|
|
|
|
(license (list license:bsd-3 ; the main top-level LICENSE file
|
2017-10-10 06:13:30 -04:00
|
|
|
|
license:bsd-2 ; many files explicitly state 2-Clause
|
2017-10-10 08:19:08 -04:00
|
|
|
|
license:gpl2 ; the main top-level COPYING file
|
2017-10-10 06:13:30 -04:00
|
|
|
|
license:gpl3+ ; tests/gzip/*.sh
|
|
|
|
|
license:expat ; lib/dictBuilder/divsufsort.[ch]
|
2016-11-05 10:45:53 -04:00
|
|
|
|
license:public-domain ; zlibWrapper/examples/fitblk*
|
|
|
|
|
license:zlib)))) ; zlibWrapper/{gz*.c,gzguts.h}
|
2017-02-20 16:31:35 -05:00
|
|
|
|
|
|
|
|
|
(define-public pzstd
|
|
|
|
|
(package
|
|
|
|
|
(name "pzstd")
|
|
|
|
|
(version (package-version zstd))
|
|
|
|
|
(source (package-source zstd))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2018-03-16 11:50:14 -04:00
|
|
|
|
`(("googletest" ,googletest)))
|
2017-02-20 16:31:35 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-subdirectory
|
|
|
|
|
(lambda _ (chdir "contrib/pzstd")))
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-before 'check 'compile-tests
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(zero? (apply system* "make" "tests" make-flags))))
|
|
|
|
|
(add-after 'install 'install-documentation
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name)))
|
|
|
|
|
(mkdir-p doc)
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
#t))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))))
|
|
|
|
|
(home-page (package-home-page zstd))
|
|
|
|
|
(synopsis "Threaded implementation of the Zstandard compression algorithm")
|
|
|
|
|
(description "Parallel Zstandard (PZstandard or @command{pzstd}) is a
|
|
|
|
|
multi-threaded implementation of the @uref{http://zstd.net/, Zstandard
|
|
|
|
|
compression algorithm}. It is fully compatible with the original Zstandard file
|
|
|
|
|
format and command-line interface, and can be used as a drop-in replacement.
|
|
|
|
|
|
|
|
|
|
Compression is distributed over multiple processor cores to improve performance,
|
|
|
|
|
as is the decompression of data compressed in this manner. Data compressed by
|
|
|
|
|
other implementations will only be decompressed by two threads: one performing
|
|
|
|
|
the actual decompression, the other input and output.")
|
|
|
|
|
(license (package-license zstd))))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
|
|
|
|
|
(define-public zip
|
|
|
|
|
(package
|
|
|
|
|
(name "zip")
|
|
|
|
|
(version "3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/infozip"
|
|
|
|
|
"/Zip%203.x%20%28latest%29/3.0/zip30.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0sb3h3067pzf3a7mlxn1hikpcjrsvycjcnj9hl9b1c3ykcgvps7h"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("bzip2" ,bzip2)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list "-f" "unix/Makefile"
|
|
|
|
|
(string-append "prefix=" out)
|
|
|
|
|
(string-append "MANDIR=" out "/share/man/man1")))
|
|
|
|
|
#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-1))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
|
|
|
|
(zero? (apply system* "make" "generic_gcc" make-flags))))
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(home-page "http://www.info-zip.org/Zip.html")
|
|
|
|
|
(synopsis "Compression and file packing utility")
|
|
|
|
|
(description
|
|
|
|
|
"Zip is a compression and file packaging/archive utility. Zip is useful
|
|
|
|
|
for packaging a set of files for distribution, for archiving files, and for
|
|
|
|
|
saving disk space by temporarily compressing unused files or directories.
|
|
|
|
|
Zip puts one or more compressed files into a single ZIP archive, along with
|
|
|
|
|
information about the files (name, path, date, time of last modification,
|
|
|
|
|
protection, and check information to verify file integrity). An entire
|
|
|
|
|
directory structure can be packed into a ZIP archive with a single command.
|
|
|
|
|
|
|
|
|
|
Zip has one compression method (deflation) and can also store files without
|
|
|
|
|
compression. Zip automatically chooses the better of the two for each file.
|
|
|
|
|
Compression ratios of 2:1 to 3:1 are common for text files.")
|
|
|
|
|
(license (license:non-copyleft "file://LICENSE"
|
|
|
|
|
"See LICENSE in the distribution."))))
|
|
|
|
|
|
|
|
|
|
(define-public unzip
|
|
|
|
|
(package (inherit zip)
|
|
|
|
|
(name "unzip")
|
2018-02-12 13:49:49 -05:00
|
|
|
|
(replacement unzip/fixed)
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
(version "6.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/infozip"
|
|
|
|
|
"/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0dxx11knh3nk95p2gg2ak777dd11pr7jx5das2g49l262scrcv83"))
|
|
|
|
|
(patches (search-patches "unzip-CVE-2014-8139.patch"
|
|
|
|
|
"unzip-CVE-2014-8140.patch"
|
|
|
|
|
"unzip-CVE-2014-8141.patch"
|
|
|
|
|
"unzip-CVE-2014-9636.patch"
|
|
|
|
|
"unzip-CVE-2015-7696.patch"
|
|
|
|
|
"unzip-CVE-2015-7697.patch"
|
|
|
|
|
"unzip-allow-greater-hostver-values.patch"
|
|
|
|
|
"unzip-initialize-symlink-flag.patch"
|
|
|
|
|
"unzip-remove-build-date.patch"
|
|
|
|
|
"unzip-attribs-overflow.patch"
|
|
|
|
|
"unzip-overflow-on-invalid-input.patch"
|
|
|
|
|
"unzip-format-secure.patch"
|
|
|
|
|
"unzip-overflow-long-fsize.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; no inputs; bzip2 is not supported, since not compiled with BZ_NO_STDIO
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(zero? (apply system* "make"
|
|
|
|
|
`("-j" ,(number->string
|
|
|
|
|
(parallel-job-count))
|
|
|
|
|
,@make-flags
|
|
|
|
|
"generic_gcc"))))))
|
|
|
|
|
#:make-flags (list "-f" "unix/Makefile"
|
|
|
|
|
(string-append "prefix=" %output)
|
|
|
|
|
(string-append "MANDIR=" %output "/share/man/man1"))))
|
|
|
|
|
(home-page "http://www.info-zip.org/UnZip.html")
|
|
|
|
|
(synopsis "Decompression and file extraction utility")
|
|
|
|
|
(description
|
|
|
|
|
"UnZip is an extraction utility for archives compressed in .zip format,
|
|
|
|
|
also called \"zipfiles\".
|
|
|
|
|
|
|
|
|
|
UnZip lists, tests, or extracts files from a .zip archive. The default
|
|
|
|
|
behaviour (with no options) is to extract into the current directory, and
|
|
|
|
|
subdirectories below it, all files from the specified zipfile. UnZip
|
|
|
|
|
recreates the stored directory structure by default.")
|
|
|
|
|
(license (license:non-copyleft "file://LICENSE"
|
|
|
|
|
"See LICENSE in the distribution."))))
|
|
|
|
|
|
2018-02-12 13:49:49 -05:00
|
|
|
|
(define unzip/fixed
|
|
|
|
|
(package/inherit unzip
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments unzip)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'fortify
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Mitigate CVE-2018-1000035, an exploitable buffer overflow.
|
|
|
|
|
;; This environment variable is recommended in 'unix/Makefile'
|
|
|
|
|
;; for passing flags to the C compiler.
|
|
|
|
|
(setenv "LOCAL_UNZIP" "-D_FORTIFY_SOURCE=1")
|
|
|
|
|
#t))))))))
|
|
|
|
|
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
(define-public zziplib
|
|
|
|
|
(package
|
|
|
|
|
(name "zziplib")
|
2018-03-19 19:56:04 -04:00
|
|
|
|
(version "0.13.69")
|
|
|
|
|
(home-page "https://github.com/gdraheim/zziplib")
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-03-19 19:56:04 -04:00
|
|
|
|
(uri (string-append home-page "/archive/v" version ".tar.gz"))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-03-19 19:56:04 -04:00
|
|
|
|
"0i052a7shww0fzsxrdp3rd7g4mbzx7324a8ysbc0br7frpblcql4"))))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(native-inputs `(("perl" ,perl) ; for the documentation
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
;; for the documentation; Python 3 not supported,
|
|
|
|
|
;; http://forums.gentoo.org/viewtopic-t-863161-start-0.html
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("zip" ,zip))) ; to create test files
|
|
|
|
|
(synopsis "Library for accessing zip files")
|
|
|
|
|
(description
|
|
|
|
|
"ZZipLib is a library based on zlib for accessing zip files.")
|
2018-03-19 20:02:13 -04:00
|
|
|
|
;; zziplib is dual licensed under LGPL2.0+ and MPL1.1. Some example source
|
|
|
|
|
;; files carry the Zlib license; see "docs/copying.html" for details.
|
|
|
|
|
(license (list license:lgpl2.0+ license:mpl1.1))))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
|
2018-01-01 11:15:27 -05:00
|
|
|
|
(define-public perl-archive-zip
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
(package
|
2018-01-01 11:15:27 -05:00
|
|
|
|
(name "perl-archive-zip")
|
2018-01-01 11:16:54 -05:00
|
|
|
|
(version "1.60")
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2018-01-01 11:16:54 -05:00
|
|
|
|
"mirror://cpan/authors/id/P/PH/PHRED/Archive-Zip-"
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-01-01 11:16:54 -05:00
|
|
|
|
"02y2ylq83hy9kgj57sc0239x65br9sm98c0chsm61s08yc2mpiza"))))
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
(build-system perl-build-system)
|
2018-01-01 11:16:54 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
;; For tests.
|
|
|
|
|
`(("perl-test-mockmodule" ,perl-test-mockmodule)))
|
2018-01-01 08:38:32 -05:00
|
|
|
|
(synopsis "Provides an interface to Zip archive files")
|
|
|
|
|
(description "The @code{Archive::Zip} module allows a Perl program to
|
|
|
|
|
create, manipulate, read, and write Zip archive files.")
|
2018-01-01 11:16:54 -05:00
|
|
|
|
(home-page "http://search.cpan.org/dist/Archive-Zip/")
|
gnu: Move contents of zip module into compression module.
* gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to...
* gnu/packages/compression.scm: ...here.
* gnu/packages/zip.scm: Delete file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file.
* po/packages/POTFILES.in: Unregister deleted file.
* gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression,
docbook, documentation, fonts, fpga, game-development, games, gl, gnome,
gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice,
markup, maths, mc, monitoring, music, php, pretty-print, python, scheme,
smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml,
zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm:
Adapt module import.
2017-06-12 14:40:01 -04:00
|
|
|
|
(license license:perl-license)))
|
2017-06-23 17:05:11 -04:00
|
|
|
|
|
|
|
|
|
(define-public libzip
|
|
|
|
|
(package
|
|
|
|
|
(name "libzip")
|
2017-11-22 09:34:28 -05:00
|
|
|
|
(version "1.3.2")
|
2017-06-23 17:05:11 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2017-11-22 06:01:21 -05:00
|
|
|
|
"https://libzip.org/download/" name "-" version ".tar.xz"))
|
2017-06-23 17:05:11 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-11-22 09:34:28 -05:00
|
|
|
|
"11g1hvm2bxa2v5plakfzcwyk5hb5fz4kgrkp38l0xhnv21888xv2"))))
|
2017-06-23 17:05:11 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-11-22 06:01:21 -05:00
|
|
|
|
(home-page "https://libzip.org")
|
2017-06-23 17:05:11 -04:00
|
|
|
|
(synopsis "C library for reading, creating, and modifying zip archives")
|
|
|
|
|
(description "Libzip is a C library for reading, creating, and modifying
|
|
|
|
|
zip archives. Files can be added from data buffers, files, or compressed data
|
|
|
|
|
copied directly from other zip archives. Changes made without closing the
|
|
|
|
|
archive can be reverted.")
|
|
|
|
|
(license license:bsd-3)))
|
2017-10-18 17:07:25 -04:00
|
|
|
|
|
|
|
|
|
(define-public atool
|
|
|
|
|
(package
|
|
|
|
|
(name "atool")
|
|
|
|
|
(version "0.39.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://savannah.nongnu.org/download/atool/atool-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0fvhzip2v08jgnlfpyj6rapan39xlsl1ksgq4lp8gfsai2ah1xma"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'embed-absolute-file-name
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "atool"
|
|
|
|
|
(("(^\\$::cfg_path_file.*= )'file'" _ pre)
|
|
|
|
|
(string-append pre "'" (assoc-ref inputs "file")
|
|
|
|
|
"/bin/file'")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("file" ,file)))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/atool/")
|
2017-10-18 17:07:25 -04:00
|
|
|
|
(synopsis "Universal tool to manage file archives of various types")
|
|
|
|
|
(description "The main command is @command{aunpack} which extracts files
|
|
|
|
|
from an archive. The other commands provided are @command{apack} (to create
|
|
|
|
|
archives), @command{als} (to list files in archives), and @command{acat} (to
|
|
|
|
|
extract files to standard out). As @command{atool} invokes external programs
|
|
|
|
|
to handle the archives, not all commands may be supported for a certain type
|
|
|
|
|
of archives.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-10-24 12:22:12 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-archive-extract
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-archive-extract")
|
|
|
|
|
(version "0.80")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/B/BI/BINGOS/Archive-Extract-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1x15j1q6w6z8hqyqgap0lz4qbq2174wfhksy1fdd653ccbaw5jr5"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Archive-Extract/")
|
|
|
|
|
(synopsis "Generic archive extracting mechanism")
|
|
|
|
|
(description "It allows you to extract any archive file of the type .tar,
|
|
|
|
|
.tar.gz, .gz, .Z, tar.bz2, .tbz, .bz2, .zip, .xz,, .txz, .tar.xz or .lzma
|
|
|
|
|
without having to worry how it does so, or use different interfaces for each
|
|
|
|
|
type by using either Perl modules, or command-line tools on your system.")
|
|
|
|
|
(license license:perl-license)))
|
2017-11-06 13:22:09 -05:00
|
|
|
|
|
|
|
|
|
(define-public java-tukaani-xz
|
|
|
|
|
(package
|
|
|
|
|
(name "java-tukaani-xz")
|
|
|
|
|
(version "1.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://tukaani.org/xz/xz-java-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1z3p1ri1gvl07inxn0agx44ck8n7wrzfmvkz8nbq3njn8r9wba8x"))))
|
|
|
|
|
(build-system ant-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Our build system enters the first directory in the archive, but
|
|
|
|
|
;; the package is not contained in a subdirectory
|
|
|
|
|
(chdir "..")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Do we want to install *Demo.jar?
|
|
|
|
|
(install-file "build/jar/xz.jar"
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/share/java/xz.jar")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
|
(home-page "https://tukaani.org")
|
|
|
|
|
(synopsis "XZ in Java")
|
|
|
|
|
(description "Tukaani-xz is an implementation of xz compression/decompression
|
|
|
|
|
algorithms in Java.")
|
|
|
|
|
(license license:public-domain)))
|
2017-12-13 23:23:36 -05:00
|
|
|
|
|
|
|
|
|
(define-public lunzip
|
|
|
|
|
(package
|
|
|
|
|
(name "lunzip")
|
2018-02-07 23:06:54 -05:00
|
|
|
|
(version "1.10")
|
2017-12-13 23:23:36 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-01-15 10:20:51 -05:00
|
|
|
|
(uri (string-append "mirror://savannah/lzip/"
|
2017-12-13 23:23:36 -05:00
|
|
|
|
name "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2018-02-07 23:06:54 -05:00
|
|
|
|
(base32 "1iw59br6nsxs7l1p875h8w3vxwr04xfhg5zyal64crvamhxkj5kl"))))
|
2017-12-13 23:23:36 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "CC=gcc")))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/lunzip.html")
|
2017-12-13 23:23:36 -05:00
|
|
|
|
(synopsis "Small, stand-alone lzip decompressor")
|
|
|
|
|
(description
|
|
|
|
|
"Lunzip is a decompressor for files in the lzip compression format (.lz),
|
|
|
|
|
written as a single small C tool with no dependencies. This makes it
|
|
|
|
|
well-suited to embedded and other systems without a C++ compiler, or for use in
|
|
|
|
|
applications such as software installers that need only to decompress files,
|
|
|
|
|
not compress them.
|
|
|
|
|
Lunzip is intended to be fully compatible with the regular lzip package.")
|
|
|
|
|
(license (list license:bsd-2 ; carg_parser.[ch]
|
|
|
|
|
license:gpl2+)))) ; everything else
|
2017-12-13 23:44:26 -05:00
|
|
|
|
|
|
|
|
|
(define-public clzip
|
|
|
|
|
(package
|
|
|
|
|
(name "clzip")
|
2018-02-15 22:13:14 -05:00
|
|
|
|
(version "1.10")
|
2017-12-13 23:44:26 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-01-15 10:20:51 -05:00
|
|
|
|
(uri (string-append "mirror://savannah/lzip/"
|
2017-12-13 23:44:26 -05:00
|
|
|
|
name "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2018-02-15 22:13:14 -05:00
|
|
|
|
(base32 "03xcmhl3dya4jrwmsqh09ikimpb36fr3vkh2bwfzz1sbcns0cdg3"))))
|
2017-12-13 23:44:26 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "CC=gcc")))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/clzip.html")
|
2017-12-13 23:44:26 -05:00
|
|
|
|
(synopsis "Small, stand-alone lzip compressor and decompressor")
|
|
|
|
|
(description
|
|
|
|
|
"Clzip is a compressor and decompressor for files in the lzip compression
|
|
|
|
|
format (.lz), written as a single small C tool with no dependencies. This makes
|
|
|
|
|
it well-suited to embedded and other systems without a C++ compiler, or for use
|
|
|
|
|
in other applications like package managers.
|
|
|
|
|
Clzip is intended to be fully compatible with the regular lzip package.")
|
|
|
|
|
(license (list license:bsd-2 ; carg_parser.[ch], lzd in clzip.texi
|
|
|
|
|
license:gpl2+))))
|
2017-12-14 00:25:45 -05:00
|
|
|
|
|
|
|
|
|
(define-public lzlib
|
|
|
|
|
(package
|
|
|
|
|
(name "lzlib")
|
2018-02-15 22:13:25 -05:00
|
|
|
|
(version "1.10")
|
2017-12-14 00:25:45 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-01-15 10:20:51 -05:00
|
|
|
|
(uri (string-append "mirror://savannah/lzip/"
|
2017-12-14 00:25:45 -05:00
|
|
|
|
name "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2018-02-15 22:13:25 -05:00
|
|
|
|
(base32 "0hqhnj2lzqacdbmmnpy91lsm1rd9zlngs1q6s9pyahsv1a0bfshx"))))
|
2017-12-14 00:25:45 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
;; The included minilzip binary is only ~16 smaller than the ‘real’ lzip.
|
|
|
|
|
;; It's used during the test suite, but don't be tempted to install it.
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
"--enable-shared"))) ; only static (.a) is built by default
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/lzlib.html")
|
2017-12-14 00:25:45 -05:00
|
|
|
|
(synopsis "Lzip data compression C library")
|
|
|
|
|
(description
|
|
|
|
|
"Lzlib is a C library for in-memory LZMA compression and decompression in
|
|
|
|
|
the lzip format. It supports integrity checking of the decompressed data, and
|
|
|
|
|
all functions are thread-safe. The library should never crash, even in case of
|
|
|
|
|
corrupted input.")
|
|
|
|
|
(license (list license:bsd-2 ; the library itself
|
|
|
|
|
license:gpl2+)))) ; main.c (i.e. minilzip used by tests)
|
2017-12-14 13:36:04 -05:00
|
|
|
|
|
|
|
|
|
(define-public plzip
|
|
|
|
|
(package
|
|
|
|
|
(name "plzip")
|
2018-02-15 22:13:52 -05:00
|
|
|
|
(version "1.7")
|
2017-12-14 13:36:04 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-01-15 10:20:51 -05:00
|
|
|
|
(uri (string-append "mirror://savannah/lzip/"
|
2017-12-14 13:36:04 -05:00
|
|
|
|
name "/" name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2018-02-15 22:13:52 -05:00
|
|
|
|
(base32 "1dzjp9r7krwpsn224bhcqbzd5aj5b4556sdi9yzl2bzbk3fjrqlm"))))
|
2017-12-14 13:36:04 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lzlib" ,lzlib)))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-15 22:20:44 -05:00
|
|
|
|
(home-page "https://www.nongnu.org/lzip/plzip.html")
|
2017-12-14 13:36:04 -05:00
|
|
|
|
(synopsis "Parallel lossless data compressor for the lzip format")
|
|
|
|
|
(description
|
|
|
|
|
"Plzip is a massively parallel (multi-threaded) lossless data compressor
|
|
|
|
|
and decompressor that uses the lzip file format (.lz). Files produced by plzip
|
|
|
|
|
are fully compatible with lzip and can be rescued with lziprecover.
|
|
|
|
|
On multiprocessor machines, plzip can compress and decompress large files much
|
|
|
|
|
faster than lzip, at the cost of a slightly reduced compression ratio (0.4% to
|
|
|
|
|
2%). The number of usable threads is limited by file size: on files of only a
|
|
|
|
|
few MiB, plzip is no faster than lzip.
|
|
|
|
|
Files that were compressed with regular lzip will also not be decompressed
|
|
|
|
|
faster by plzip, unless the @code{-b} option was used: lzip usually produces
|
|
|
|
|
single-member files which can't be decompressed in parallel.")
|
|
|
|
|
(license (list license:bsd-2 ; arg_parser.{cc,h}
|
|
|
|
|
license:gpl2+)))) ; everything else
|
2018-01-31 05:57:33 -05:00
|
|
|
|
|
|
|
|
|
(define-public innoextract
|
|
|
|
|
(package
|
|
|
|
|
(name "innoextract")
|
|
|
|
|
(version "1.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/dscharrer/innoextract/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"08sp5vbfjvq1irhhraqkn5m2x1z209r4axhx7laf1adcw30ccapi"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ;; No tests available.
|
|
|
|
|
(inputs `(("boost" ,boost)
|
|
|
|
|
("libiconv" ,libiconv)
|
|
|
|
|
("xz" ,xz)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://constexpr.org/innoextract/")
|
|
|
|
|
(synopsis "Tool for extracting Inno Setup installers")
|
|
|
|
|
(description "innoextract allows extracting Inno Setup installers under
|
|
|
|
|
non-Windows systems without running the actual installer using wine.")
|
|
|
|
|
(license license:zlib)))
|
2018-02-21 12:18:31 -05:00
|
|
|
|
|
|
|
|
|
(define-public google-brotli
|
|
|
|
|
(package
|
|
|
|
|
(name "google-brotli")
|
|
|
|
|
(version "1.0.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/google/brotli/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"08kl9gww2058p1p7j9xqmcmrabcfihhj3fq984d7fi3bchb2mky2"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'rename-static-libraries
|
|
|
|
|
;; The build tools put a 'static' suffix on the static libraries, but
|
|
|
|
|
;; other applications don't know how to find these.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((lib (string-append (assoc-ref %outputs "out") "/lib/")))
|
|
|
|
|
(rename-file (string-append lib "libbrotlicommon-static.a")
|
|
|
|
|
(string-append lib "libbrotlicommon.a"))
|
|
|
|
|
(rename-file (string-append lib "libbrotlidec-static.a")
|
|
|
|
|
(string-append lib "libbrotlidec.a"))
|
|
|
|
|
(rename-file (string-append lib "libbrotlienc-static.a")
|
|
|
|
|
(string-append lib "libbrotlienc.a"))
|
|
|
|
|
#t))))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list ;; Defaults to "lib64" on 64-bit archs.
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_LIBDIR="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))))
|
|
|
|
|
(home-page "https://github.com/google/brotli")
|
|
|
|
|
(synopsis "General-purpose lossless compression")
|
|
|
|
|
(description "This package provides the reference implementation of Brotli,
|
|
|
|
|
a generic-purpose lossless compression algorithm that compresses data using a
|
|
|
|
|
combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd
|
|
|
|
|
order context modeling, with a compression ratio comparable to the best
|
|
|
|
|
currently available general-purpose compression methods. It is similar in speed
|
|
|
|
|
with @code{deflate} but offers more dense compression.
|
|
|
|
|
|
|
|
|
|
The specification of the Brotli Compressed Data Format is defined in RFC 7932.")
|
|
|
|
|
(license license:expat)))
|