2021-11-19 19:28:18 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, zlib, lzo, bzip2, lz4, nasm, perl }:
|
2009-03-17 21:17:51 +00:00
|
|
|
|
2010-03-07 21:03:50 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "lrzip";
|
2021-07-21 11:41:59 +00:00
|
|
|
version = "0.641";
|
2009-03-17 21:17:51 +00:00
|
|
|
|
2021-11-19 19:28:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ckolivas";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-253CH6TiHWyr13C76y9PXjyB7gj2Bhd2VRgJ5r+cm/g=";
|
2009-03-17 21:17:51 +00:00
|
|
|
};
|
|
|
|
|
2021-11-19 19:28:18 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook nasm perl ];
|
|
|
|
|
|
|
|
buildInputs = [ zlib lzo bzip2 lz4 ];
|
2021-02-16 18:29:18 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-asm"
|
|
|
|
];
|
2009-03-17 21:17:51 +00:00
|
|
|
|
2021-07-21 11:41:59 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://ck.kolivas.org/apps/lrzip/";
|
2009-03-17 21:17:51 +00:00
|
|
|
description = "The CK LRZIP compression program (LZMA + RZIP)";
|
2021-07-21 11:41:59 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2009-03-17 21:17:51 +00:00
|
|
|
};
|
|
|
|
}
|