mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
libdeflate: init at 1.1 (#52832)
This commit is contained in:
parent
3b19fa9745
commit
f471114ab6
31
pkgs/development/libraries/libdeflate/default.nix
Normal file
31
pkgs/development/libraries/libdeflate/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, lib, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libdeflate-${version}";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ebiggers";
|
||||
repo = "libdeflate";
|
||||
rev = "v${version}";
|
||||
sha256 = "1wqxwza6rwmhrsy9sw86pdcd0w742gbzsy9qxnq6kk59m6h1dbsb";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -10700,6 +10700,8 @@ in
|
||||
|
||||
libde265 = callPackage ../development/libraries/libde265 {};
|
||||
|
||||
libdeflate = callPackage ../development/libraries/libdeflate { };
|
||||
|
||||
libdevil = callPackage ../development/libraries/libdevil {
|
||||
inherit (darwin.apple_sdk.frameworks) OpenGL;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user