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
12
pkgs/development/libraries/msgpack/default.nix
Normal file
12
pkgs/development/libraries/msgpack/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ callPackage, fetchFromGitHub, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // rec {
|
||||
version = "3.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "msgpack";
|
||||
repo = "msgpack-c";
|
||||
rev = "cpp-${version}";
|
||||
sha256 = "02dxgzxlwn8g9ca2j4m0rjvdq1k2iciy6ickj615daz5w8pcjajd";
|
||||
};
|
||||
})
|
||||
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