mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
b5c1deca8a
He prefers to contribute to his own nixpkgs fork triton. Since he is still marked as maintainer in many packages this leaves the wrong impression he still maintains those.
28 lines
615 B
Nix
28 lines
615 B
Nix
{ stdenv, cmake
|
|
, version, src, patches ? [ ]
|
|
, ...
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "msgpack-${version}";
|
|
|
|
inherit src patches;
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
cmakeFlags = []
|
|
++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
|
|
"-DMSGPACK_BUILD_EXAMPLES=OFF"
|
|
;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "MessagePack implementation for C and C++";
|
|
homepage = https://msgpack.org;
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ redbaron ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|