1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/tools/compression/gzip/default.nix
2013-08-17 10:00:16 +02:00

38 lines
1,023 B
Nix

{ stdenv, fetchurl, less }:
stdenv.mkDerivation rec {
name = "gzip-1.6";
src = fetchurl {
url = "mirror://gnu/gzip/${name}.tar.xz";
sha256 = "0ivqnbhiwd12q8hp3qw6rpsrpw2jg5y2mymk8cn22lsx90dfvprp";
};
patches = [ ./skip-some-tests.patch ];
buildInputs = [ less ]; # just for tests
doCheck = true;
meta = {
homepage = http://www.gnu.org/software/gzip/;
description = "Gzip, the GNU zip compression program";
longDescription =
''gzip (GNU zip) is a popular data compression program written by
Jean-loup Gailly for the GNU project. Mark Adler wrote the
decompression part.
We developed this program as a replacement for compress because of
the Unisys and IBM patents covering the LZW algorithm used by
compress. These patents made it impossible for us to use compress,
and we needed a replacement. The superior compression ratio of gzip
is just a bonus.
'';
license = "GPLv3+";
maintainers = [ ];
};
}