nixpkgs/pkgs/tools/compression/lrzip/default.nix
2021-03-06 04:15:02 +01:00

26 lines
625 B
Nix

{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;
};
}