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

30 lines
715 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, zlib, lzo, bzip2, lz4, nasm, perl }:
stdenv.mkDerivation rec {
pname = "lrzip";
2021-07-21 11:41:59 +00:00
version = "0.641";
src = fetchFromGitHub {
owner = "ckolivas";
repo = pname;
rev = "v${version}";
sha256 = "sha256-253CH6TiHWyr13C76y9PXjyB7gj2Bhd2VRgJ5r+cm/g=";
};
nativeBuildInputs = [ autoreconfHook nasm perl ];
buildInputs = [ zlib lzo bzip2 lz4 ];
2021-02-16 18:29:18 +00:00
configureFlags = [
"--disable-asm"
];
2021-07-21 11:41:59 +00:00
meta = with lib; {
homepage = "http://ck.kolivas.org/apps/lrzip/";
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;
};
}