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
23
pkgs/development/libraries/msgpack/generic.nix
Normal file
23
pkgs/development/libraries/msgpack/generic.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, stdenv, cmake
|
||||
, version, src, patches ? [ ]
|
||||
, ...
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "msgpack";
|
||||
inherit version;
|
||||
|
||||
inherit src patches;
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "-DMSGPACK_BUILD_EXAMPLES=OFF";
|
||||
|
||||
meta = with lib; {
|
||||
description = "MessagePack implementation for C and C++";
|
||||
homepage = "https://msgpack.org";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ redbaron ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue