nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #239153 from NickCao/msgpack

msgpack-{c,cxx}: init at 6.0.0

authored by

Nick Cao and committed by
GitHub
a06cc8c8 7f508897

+99 -4
+2 -2
pkgs/applications/editors/neovim/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, gettext, msgpack, libtermkey, libiconv 1 + { lib, stdenv, fetchFromGitHub, cmake, gettext, msgpack-c, libtermkey, libiconv 2 2 , libuv, lua, ncurses, pkg-config 3 3 , unibilium, gperf 4 4 , libvterm-neovim ··· 66 66 # https://github.com/luarocks/luarocks/issues/1402#issuecomment-1080616570 67 67 # and it's definition at: pkgs/development/lua-modules/overrides.nix 68 68 lua.pkgs.libluv 69 - msgpack 69 + msgpack-c 70 70 ncurses 71 71 neovimLuaEnv 72 72 tree-sitter
+2 -2
pkgs/applications/networking/instant-messengers/jami/default.nix
··· 24 24 , libpulseaudio 25 25 , libupnp 26 26 , yaml-cpp 27 - , msgpack 27 + , msgpack-cxx 28 28 , openssl 29 29 , restinio 30 30 , secp256k1 ··· 132 132 libpulseaudio 133 133 libupnp 134 134 yaml-cpp 135 - msgpack 135 + msgpack-cxx 136 136 opendht-jami 137 137 openssl 138 138 pjsip-jami
+44
pkgs/development/libraries/msgpack-c/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , gtest 6 + , zlib 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "msgpack-c"; 11 + version = "6.0.0"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "msgpack"; 15 + repo = "msgpack-c"; 16 + rev = "refs/tags/c-${version}"; 17 + hash = "sha256-TfC37QKwqvHxsLPgsEqJYkb7mpRQekbntbBPV4v4FO8="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ 23 + cmake 24 + ]; 25 + 26 + cmakeFlags = [ 27 + "-DMSGPACK_BUILD_EXAMPLES=OFF" # examples are not installed even if built 28 + ] ++ lib.optional (!doCheck) "-DMSGPACK_BUILD_TESTS=OFF"; 29 + 30 + checkInputs = [ 31 + gtest 32 + zlib 33 + ]; 34 + 35 + doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; 36 + 37 + meta = with lib; { 38 + description = "MessagePack implementation for C"; 39 + homepage = "https://github.com/msgpack/msgpack-c"; 40 + changelog = "https://github.com/msgpack/msgpack-c/blob/${src.rev}/CHANGELOG.md"; 41 + license = licenses.boost; 42 + maintainers = with maintainers; [ nickcao ]; 43 + }; 44 + }
+47
pkgs/development/libraries/msgpack-cxx/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , boost 6 + , zlib 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "msgpack-cxx"; 11 + version = "6.0.0"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "msgpack"; 15 + repo = "msgpack-c"; 16 + rev = "refs/tags/cpp-${version}"; 17 + hash = "sha256-p0eLd0fHhsgnRomubYadumMNiC2itdePJC9B55m49LI="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ 23 + cmake 24 + ]; 25 + 26 + buildInputs = [ 27 + boost 28 + ]; 29 + 30 + cmakeFlags = [ 31 + "-DMSGPACK_BUILD_DOCS=OFF" # docs are not installed even if built 32 + ] ++ lib.optional doCheck "-DMSGPACK_BUILD_TESTS=ON"; 33 + 34 + checkInputs = [ 35 + zlib 36 + ]; 37 + 38 + doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; 39 + 40 + meta = with lib; { 41 + description = "MessagePack implementation for C++"; 42 + homepage = "https://github.com/msgpack/msgpack-c"; 43 + changelog = "https://github.com/msgpack/msgpack-c/blob/${src.rev}/CHANGELOG.md"; 44 + license = licenses.boost; 45 + maintainers = with maintainers; [ nickcao ]; 46 + }; 47 + }
+4
pkgs/top-level/all-packages.nix
··· 23339 23339 23340 23340 msgpack = callPackage ../development/libraries/msgpack { }; 23341 23341 23342 + msgpack-c = callPackage ../development/libraries/msgpack-c { }; 23343 + 23344 + msgpack-cxx = callPackage ../development/libraries/msgpack-cxx { }; 23345 + 23342 23346 msoffcrypto-tool = with python3.pkgs; toPythonApplication msoffcrypto-tool; 23343 23347 23344 23348 msilbc = callPackage ../development/libraries/msilbc { };