Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 cmake, 5 version, 6 src, 7 patches ? [ ], 8 ... 9}: 10 11stdenv.mkDerivation { 12 pname = "msgpack"; 13 inherit version; 14 15 inherit src patches; 16 17 nativeBuildInputs = [ cmake ]; 18 19 cmakeFlags = lib.optional ( 20 stdenv.hostPlatform != stdenv.buildPlatform 21 ) "-DMSGPACK_BUILD_EXAMPLES=OFF"; 22 23 meta = with lib; { 24 description = "MessagePack implementation for C and C++"; 25 homepage = "https://msgpack.org"; 26 license = licenses.asl20; 27 maintainers = with maintainers; [ redbaron ]; 28 platforms = platforms.all; 29 }; 30}