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
52
pkgs/development/libraries/zchunk/default.nix
Normal file
52
pkgs/development/libraries/zchunk/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, argp-standalone
|
||||
, curl
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, zstd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zchunk";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zchunk";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-7H1WF5VkpA65xCdEa0Sw4r4jj+kGhDVCMr5AeE+3Ii4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
zstd
|
||||
] ++ lib.optional stdenv.isDarwin argp-standalone;
|
||||
|
||||
outputs = [ "out" "lib" "dev" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/zchunk/zchunk";
|
||||
description = "File format designed for highly efficient deltas while maintaining good compression";
|
||||
longDescription = ''
|
||||
zchunk is a compressed file format that splits the file into independent
|
||||
chunks. This allows you to only download changed chunks when downloading a
|
||||
new version of the file, and also makes zchunk files efficient over rsync.
|
||||
|
||||
zchunk files are protected with strong checksums to verify that the file
|
||||
you downloaded is, in fact, the file you wanted.
|
||||
'';
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin; # does not find argp-standalone
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue