2022-02-10 20:34:41 +00:00
|
|
|
{ lib, stdenv, fetchurl, lzip }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lziprecover";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "1.24";
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://savannah/lzip/lziprecover/${pname}-${version}.tar.gz";
|
2024-02-07 01:22:34 +00:00
|
|
|
sha256 = "sha256-HWmc+u/pLrJiSjZSWAvK/gu7mP54GMJebegjvN0NRY8=";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"CPPFLAGS=-DNDEBUG"
|
|
|
|
"CFLAGS=-O3"
|
|
|
|
"CXXFLAGS=-O3"
|
|
|
|
"CXX=${stdenv.cc.targetPrefix}c++"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ lzip ];
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
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;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "lziprecover";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
}
|