nixpkgs/pkgs/tools/compression/lzip/default.nix

26 lines
630 B
Nix
Raw Normal View History

2013-03-13 14:04:33 +01:00
{ stdenv, fetchurl, texinfo }:
2013-02-06 13:15:12 +01:00
stdenv.mkDerivation rec {
2013-03-13 13:59:19 +01:00
name = "lzip-1.14";
2013-02-06 13:15:12 +01:00
2013-03-13 14:04:33 +01:00
buildInputs = [ texinfo ];
2013-02-06 13:15:12 +01:00
src = fetchurl {
url = "mirror://savannah/lzip/${name}.tar.gz";
2013-03-13 13:59:19 +01:00
sha256 = "1rybhk2pxpfh2789ck9mrkdv3bpx7b7miwndlshb5vb02m9crxbz";
2013-02-06 13:15:12 +01:00
};
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";
2013-02-06 13:15:12 +01:00
doCheck = true;
meta = {
homepage = "http://www.nongnu.org/lzip/lzip.html";
description = "a lossless data compressor based on the LZMA algorithm";
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}