uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
30
pkgs/development/libraries/minizip2/default.nix
Normal file
30
pkgs/development/libraries/minizip2/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, zlib, bzip2, xz, zstd, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "minizip";
|
||||
version = "2.10.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nmoinvaz";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-OAm4OZeQdP2Q/UKYI9bR7OV9RmLmYF/j2NpK5TPoE60=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=YES"
|
||||
"-DMZ_OPENSSL=ON"
|
||||
];
|
||||
|
||||
buildInputs = [ zlib bzip2 xz zstd openssl ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Compression library implementing the deflate compression method found in gzip and PKZIP";
|
||||
homepage = "https://github.com/nmoinvaz/minizip";
|
||||
license = licenses.zlib;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue