My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/msgpack/generic.nix

23 lines
537 B

{ 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;
};
}