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