mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
24 lines
537 B
Nix
24 lines
537 B
Nix
{ 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;
|
|
};
|
|
}
|