depot/third_party/nixpkgs/pkgs/tools/compression/lrzip/default.nix

26 lines
625 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, zlib, lzo, bzip2, lz4, nasm, perl}:
stdenv.mkDerivation rec {
version = "0.641";
pname = "lrzip";
src = fetchurl {
url = "http://ck.kolivas.org/apps/lrzip/${pname}-${version}.tar.xz";
sha256 = "0ziyanspd96dc3lp2qdcylc7aq8dhb511jhqrhxvlp502fjqjqrc";
};
buildInputs = [ zlib lzo bzip2 lz4 nasm perl ];
configureFlags = [
"--disable-asm"
];
meta = {
homepage = "http://ck.kolivas.org/apps/lrzip/";
description = "The CK LRZIP compression program (LZMA + RZIP)";
license = lib.licenses.gpl2Plus;
inherit version;
platforms = lib.platforms.unix;
};
}