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

26 lines
625 B
Nix
Raw Normal View History

2021-02-16 18:29:18 +00:00
{lib, stdenv, fetchurl, zlib, lzo, bzip2, lz4, nasm, perl}:
stdenv.mkDerivation rec {
2021-02-16 18:29:18 +00:00
version = "0.640";
pname = "lrzip";
src = fetchurl {
2021-02-16 18:29:18 +00:00
url = "http://ck.kolivas.org/apps/lrzip/${pname}-${version}.tar.xz";
sha256 = "175466drfpz8rsfr0pzfn5rqrj3wmcmcs3i2sfmw366w2kbjm4j9";
};
2021-02-16 18:29:18 +00:00
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)";
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl2Plus;
2013-03-09 11:02:44 +00:00
inherit version;
2021-01-15 09:19:50 +00:00
platforms = lib.platforms.unix;
};
}