2011-05-26 00:19:53 +02:00
|
|
|
{stdenv, fetchurl, zlib, lzo, bzip2, nasm, perl}:
|
2009-03-17 22:17:51 +01:00
|
|
|
|
2012-07-05 09:56:22 +02:00
|
|
|
let
|
|
|
|
md5fix = fetchurl {
|
|
|
|
url = "https://github.com/ckolivas/lrzip/commit/9430b6ff4a58adb69ef4cf74f1245fd5b3b313dd.patch";
|
|
|
|
sha256 = "084x4wi3mamcxphzwf43iw287v1ylrk0xjghg6b5k6vgm9gkqlx8";
|
|
|
|
};
|
|
|
|
in
|
2010-03-07 22:03:50 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-05-05 17:50:31 +02:00
|
|
|
name = "lrzip-0.612";
|
2009-03-17 22:17:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-03-07 22:03:50 +01:00
|
|
|
url = "http://ck.kolivas.org/apps/lrzip/${name}.tar.bz2";
|
2012-05-05 17:50:31 +02:00
|
|
|
sha256 = "15rfqpc4xj7wbv117mr2g9npxnrlmqqj97mhxqfpy8360ys9yc1c";
|
2009-03-17 22:17:51 +01:00
|
|
|
};
|
|
|
|
|
2011-05-26 00:19:53 +02:00
|
|
|
buildInputs = [ zlib lzo bzip2 nasm perl ];
|
2009-03-17 22:17:51 +01:00
|
|
|
|
2012-07-05 09:56:22 +02:00
|
|
|
patches = [ md5fix ];
|
|
|
|
|
2009-03-17 22:17:51 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://ck.kolivas.org/apps/lrzip/;
|
|
|
|
description = "The CK LRZIP compression program (LZMA + RZIP)";
|
|
|
|
license = "GPLv2+";
|
|
|
|
};
|
|
|
|
}
|