mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
32 lines
709 B
Nix
32 lines
709 B
Nix
{ stdenv, lib, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libdeflate";
|
|
version = "1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ebiggers";
|
|
repo = "libdeflate";
|
|
rev = "v${version}";
|
|
sha256 = "019xsz5dnbpxiz29j3zqsxyi4ksjkkygi6a2zyc8fxbm8lvaa9ar";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace Makefile --replace /usr $out
|
|
'';
|
|
|
|
configurePhase = ''
|
|
make programs/config.h
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Fast DEFLATE/zlib/gzip compressor and decompressor";
|
|
license = licenses.mit;
|
|
homepage = https://github.com/ebiggers/libdeflate;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ orivej ];
|
|
};
|
|
}
|