2021-02-22 21:28:39 +00:00
|
|
|
{lib, stdenv, fetchurl, zlib, lzo, bzip2, lz4, nasm, perl}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-22 21:28:39 +00:00
|
|
|
version = "0.640";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "lrzip";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-22 21:28:39 +00:00
|
|
|
url = "http://ck.kolivas.org/apps/lrzip/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "175466drfpz8rsfr0pzfn5rqrj3wmcmcs3i2sfmw366w2kbjm4j9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-22 21:28:39 +00:00
|
|
|
buildInputs = [ zlib lzo bzip2 lz4 nasm perl ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-asm"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://ck.kolivas.org/apps/lrzip/";
|
|
|
|
description = "The CK LRZIP compression program (LZMA + RZIP)";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit version;
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|