msgpack: rename from libmsgpack

The project does not use the name "libmsgpack". It variously uses "msgpack" and
"msgpack-c", and "msgpackc" for the name of the library.
This commit is contained in:
Orivej Desh 2018-08-17 23:53:33 +00:00
parent 0ad3721616
commit 65663f883c
14 changed files with 27 additions and 26 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, gettext, libmsgpack, libtermkey, libiconv { stdenv, fetchFromGitHub, cmake, gettext, msgpack, libtermkey, libiconv
, libuv, luaPackages, ncurses, pkgconfig , libuv, luaPackages, ncurses, pkgconfig
, unibilium, xsel, gperf , unibilium, xsel, gperf
, libvterm-neovim , libvterm-neovim
@ -25,7 +25,7 @@ let
buildInputs = [ buildInputs = [
libtermkey libtermkey
libuv libuv
libmsgpack msgpack
ncurses ncurses
libvterm-neovim libvterm-neovim
unibilium unibilium

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, doxygen, makeWrapper { stdenv, fetchFromGitHub, cmake, doxygen, makeWrapper
, libmsgpack, neovim, pythonPackages, qtbase }: , msgpack, neovim, pythonPackages, qtbase }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "neovim-qt-${version}"; name = "neovim-qt-${version}";
@ -13,12 +13,12 @@ stdenv.mkDerivation rec {
}; };
cmakeFlags = [ cmakeFlags = [
"-DMSGPACK_INCLUDE_DIRS=${libmsgpack}/include" "-DMSGPACK_INCLUDE_DIRS=${msgpack}/include"
"-DMSGPACK_LIBRARIES=${libmsgpack}/lib/libmsgpackc.so" "-DMSGPACK_LIBRARIES=${msgpack}/lib/msgpackc.so"
]; ];
buildInputs = with pythonPackages; [ buildInputs = with pythonPackages; [
neovim qtbase libmsgpack neovim qtbase msgpack
] ++ (with pythonPackages; [ ] ++ (with pythonPackages; [
jinja2 msgpack python jinja2 msgpack python
]); ]);
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
preConfigure = '' preConfigure = ''
# avoid cmake trying to download libmsgpack # avoid cmake trying to download msgpack
echo "" > third-party/CMakeLists.txt echo "" > third-party/CMakeLists.txt
# we rip out a number of tests that fail in the build env # we rip out a number of tests that fail in the build env
# the GUI tests will never work but the others should - they did before neovim 0.2.0 # the GUI tests will never work but the others should - they did before neovim 0.2.0

View File

@ -20,7 +20,7 @@
, speex , speex
, boost , boost
, opendht , opendht
, libmsgpack , msgpack
, gnutls , gnutls
, zlib , zlib
, jsoncpp , jsoncpp
@ -108,7 +108,7 @@ stdenv.mkDerivation rec {
speex speex
boost boost
opendht opendht
libmsgpack msgpack
gnutls gnutls
zlib zlib
jsoncpp jsoncpp

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, makeDesktopItem { stdenv, fetchurl, makeDesktopItem
, python3, python3Packages , python3, python3Packages
, glew, freeglut, libpng, libxml2, tk, freetype, libmsgpack }: , glew, freeglut, libpng, libxml2, tk, freetype, msgpack }:
with stdenv.lib; with stdenv.lib;
@ -29,7 +29,7 @@ python3Packages.buildPythonApplication {
sha256 = "1qpacd5w4r9a0nm5iqmkd92ym3ai00dp7v61cwd6jgakk6wfps3s"; sha256 = "1qpacd5w4r9a0nm5iqmkd92ym3ai00dp7v61cwd6jgakk6wfps3s";
}; };
buildInputs = [ python3Packages.numpy glew freeglut libpng libxml2 tk freetype libmsgpack ]; buildInputs = [ python3Packages.numpy glew freeglut libpng libxml2 tk freetype msgpack ];
NIX_CFLAGS_COMPILE = "-I ${libxml2.dev}/include/libxml2"; NIX_CFLAGS_COMPILE = "-I ${libxml2.dev}/include/libxml2";
installPhase = '' installPhase = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, libsodium, ncurses, libopus, libmsgpack { stdenv, fetchFromGitHub, cmake, libsodium, ncurses, libopus, msgpack
, libvpx, check, libconfig, pkgconfig }: , libvpx, check, libconfig, pkgconfig }:
let let
@ -20,7 +20,7 @@ let
]; ];
buildInputs = [ buildInputs = [
libsodium libmsgpack ncurses libconfig libsodium msgpack ncurses libconfig
] ++ stdenv.lib.optionals (!stdenv.isAarch32) [ ] ++ stdenv.lib.optionals (!stdenv.isAarch32) [
libopus libvpx libopus libvpx
]; ];

View File

@ -5,7 +5,7 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libmsgpack-${version}"; name = "msgpack-${version}";
inherit src patches; inherit src patches;

View File

@ -6,7 +6,7 @@
, pkgconfig , pkgconfig
, nettle , nettle
, gnutls , gnutls
, libmsgpack , msgpack
, readline , readline
, libargon2 , libargon2
}: }:
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
pkgconfig pkgconfig
nettle nettle
gnutls gnutls
libmsgpack msgpack
readline readline
libargon2 libargon2
]; ];

View File

@ -21,7 +21,7 @@
, libiconv, postgresql, v8_3_16_14, clang, sqlite, zlib, imagemagick , libiconv, postgresql, v8_3_16_14, clang, sqlite, zlib, imagemagick
, pkgconfig , ncurses, xapian_1_2_22, gpgme, utillinux, fetchpatch, tzdata, icu, libffi , pkgconfig , ncurses, xapian_1_2_22, gpgme, utillinux, fetchpatch, tzdata, icu, libffi
, cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl , cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl
, libmsgpack, qt48, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem , msgpack, qt48, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
, cairo, re2, rake, gobjectIntrospection, gdk_pixbuf, zeromq, graphicsmagick, libcxx , cairo, re2, rake, gobjectIntrospection, gdk_pixbuf, zeromq, graphicsmagick, libcxx
}@args: }@args:
@ -219,7 +219,7 @@ in
}; };
msgpack = attrs: { msgpack = attrs: {
buildInputs = [ libmsgpack ]; buildInputs = [ msgpack ];
}; };
mysql = attrs: { mysql = attrs: {

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, mecab, kytea, libedit, pkgconfig { stdenv, fetchurl, mecab, kytea, libedit, pkgconfig
, suggestSupport ? false, zeromq, libevent, libmsgpack , suggestSupport ? false, zeromq, libevent, msgpack
, lz4Support ? false, lz4 , lz4Support ? false, lz4
, zlibSupport ? false, zlib , zlibSupport ? false, zlib
}: }:
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
[ pkgconfig mecab kytea libedit ] [ pkgconfig mecab kytea libedit ]
++ optional lz4Support lz4 ++ optional lz4Support lz4
++ optional zlibSupport zlib ++ optional zlibSupport zlib
++ optionals suggestSupport [ zeromq libevent libmsgpack ]; ++ optionals suggestSupport [ zeromq libevent msgpack ];
configureFlags = with stdenv.lib; configureFlags = with stdenv.lib;
optional zlibSupport "--with-zlib" optional zlibSupport "--with-zlib"

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, postgresql, libmsgpack, groonga }: { stdenv, fetchurl, pkgconfig, postgresql, msgpack, groonga }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pgroonga-${version}"; name = "pgroonga-${version}";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ postgresql libmsgpack groonga ]; buildInputs = [ postgresql msgpack groonga ];
makeFlags = [ "HAVE_MSGPACK=1" ]; makeFlags = [ "HAVE_MSGPACK=1" ];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, cmake, libtool, pkgconfig { stdenv, fetchFromGitHub, autoreconfHook, cmake, libtool, pkgconfig
, zlib, openssl, libevent, ncurses, ruby, libmsgpack, libssh }: , zlib, openssl, libevent, ncurses, ruby, msgpack, libssh }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tmate-${version}"; name = "tmate-${version}";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
dontUseCmakeConfigure = true; dontUseCmakeConfigure = true;
buildInputs = [ libtool zlib openssl libevent ncurses ruby libmsgpack libssh ]; buildInputs = [ libtool zlib openssl libevent ncurses ruby msgpack libssh ];
nativeBuildInputs = [ autoreconfHook cmake pkgconfig ]; nativeBuildInputs = [ autoreconfHook cmake pkgconfig ];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -173,6 +173,7 @@ mapAliases ({
module_init_tools = kmod; # added 2016-04-22 module_init_tools = kmod; # added 2016-04-22
mpich2 = mpich; # added 2018-08-06 mpich2 = mpich; # added 2018-08-06
msf = metasploit; # added 2018-04-25 msf = metasploit; # added 2018-04-25
libmsgpack = msgpack; # added 2018-08-17
mssys = ms-sys; # added 2015-12-13 mssys = ms-sys; # added 2015-12-13
multipath_tools = multipath-tools; # added 2016-01-21 multipath_tools = multipath-tools; # added 2016-01-21
mupen64plus1_5 = mupen64plus; # added 2016-02-12 mupen64plus1_5 = mupen64plus; # added 2016-02-12

View File

@ -10437,8 +10437,6 @@ with pkgs;
libmtp = callPackage ../development/libraries/libmtp { }; libmtp = callPackage ../development/libraries/libmtp { };
libmsgpack = callPackage ../development/libraries/libmsgpack { };
libmypaint = callPackage ../development/libraries/libmypaint { }; libmypaint = callPackage ../development/libraries/libmypaint { };
libmysofa = callPackage ../development/libraries/audio/libmysofa { }; libmysofa = callPackage ../development/libraries/audio/libmysofa { };
@ -11118,6 +11116,8 @@ with pkgs;
mqtt-bench = callPackage ../applications/misc/mqtt-bench {}; mqtt-bench = callPackage ../applications/misc/mqtt-bench {};
msgpack = callPackage ../development/libraries/msgpack { };
msilbc = callPackage ../development/libraries/msilbc { }; msilbc = callPackage ../development/libraries/msilbc { };
mp4v2 = callPackage ../development/libraries/mp4v2 { }; mp4v2 = callPackage ../development/libraries/mp4v2 { };