mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #153478 from vlaci/lziprecover
This commit is contained in:
commit
cdb20df82e
@ -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;
|
||||
};
|
||||
}
|
||||
|
31
pkgs/tools/compression/lziprecover/default.nix
Normal file
31
pkgs/tools/compression/lziprecover/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user