mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
32 lines
761 B
Nix
32 lines
761 B
Nix
{ lib, stdenv, fetchurl, lzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lziprecover";
|
|
version = "1.23";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/lzip/lziprecover/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-8pgEF38G3VHD+lJhWuGYp2ACts6Nlhw1dVRsN0D0tXI=";
|
|
};
|
|
|
|
configureFlags = [
|
|
"CPPFLAGS=-DNDEBUG"
|
|
"CFLAGS=-O3"
|
|
"CXXFLAGS=-O3"
|
|
"CXX=${stdenv.cc.targetPrefix}c++"
|
|
];
|
|
|
|
doCheck = true;
|
|
nativeCheckInputs = [ 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;
|
|
};
|
|
}
|