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

26 lines
654 B
Nix
Raw Normal View History

2013-03-13 13:04:33 +00:00
{ stdenv, fetchurl, texinfo }:
2013-02-06 12:15:12 +00:00
stdenv.mkDerivation rec {
2013-03-13 12:59:19 +00:00
name = "lzip-1.14";
2013-02-06 12:15:12 +00:00
2013-03-13 13:04:33 +00:00
buildInputs = [ texinfo ];
2013-02-06 12:15:12 +00:00
src = fetchurl {
url = "http://download.savannah.gnu.org/releases/lzip/${name}.tar.gz";
2013-03-13 12:59:19 +00:00
sha256 = "1rybhk2pxpfh2789ck9mrkdv3bpx7b7miwndlshb5vb02m9crxbz";
2013-02-06 12:15:12 +00:00
};
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";
2013-02-06 12:15:12 +00: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 ];
};
}