Merge pull request #153478 from vlaci/lziprecover

This commit is contained in:
Sandro 2022-01-27 14:17:15 +01:00 committed by GitHub
commit cdb20df82e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 4 deletions

View File

@ -20,18 +20,19 @@ stdenv.mkDerivation rec {
"CPPFLAGS=-DNDEBUG"
"CFLAGS=-O3"
"CXXFLAGS=-O3"
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
"CXX=${stdenv.cc.targetPrefix}c++";
"CXX=${stdenv.cc.targetPrefix}c++"
];
setupHook = ./lzip-setup-hook.sh;
doCheck = true;
enableParallelBuilding = true;
meta = {
meta = with lib; {
homepage = "https://www.nongnu.org/lzip/lzip.html";
description = "A lossless data compressor based on the LZMA algorithm";
license = lib.licenses.gpl3Plus;
license = lib.licenses.gpl2Plus;
maintainers = with maintainers; [ vlaci ];
platforms = lib.platforms.all;
};
}

View File

@ -0,0 +1,31 @@
{ lib, stdenv, fetchurl, lzip }:
stdenv.mkDerivation rec {
pname = "lziprecover";
version = "1.22";
src = fetchurl {
url = "mirror://savannah/lzip/lziprecover/${pname}-${version}.tar.gz";
sha256 = "sha256-/ZWKCXX3cpxE87eE5WaJH3NsPcaDdNvSFJ7mkqFtCGI=";
};
configureFlags = [
"CPPFLAGS=-DNDEBUG"
"CFLAGS=-O3"
"CXXFLAGS=-O3"
"CXX=${stdenv.cc.targetPrefix}c++"
];
doCheck = true;
checkInputs = [ lzip ];
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://www.nongnu.org/lzip/lziprecover.html";
description = "Data recovery tool for lzip compressed files";
license = lib.licenses.gpl2Plus;
maintainers = with maintainers; [ vlaci ];
platforms = lib.platforms.all;
};
}

View File

@ -7577,6 +7577,8 @@ with pkgs;
lzip = callPackage ../tools/compression/lzip { };
lziprecover = callPackage ../tools/compression/lziprecover { };
luxcorerender = callPackage ../tools/graphics/luxcorerender {
openimagedenoise = openimagedenoise_1_2_x;
};