add libmsgpack C/C++ library (close #2059)
This commit is contained in:
parent
227997d8ca
commit
f949a71aac
|
@ -62,6 +62,7 @@
|
||||||
pSub = "Pascal Wittmann <mail@pascal-wittmann.de>";
|
pSub = "Pascal Wittmann <mail@pascal-wittmann.de>";
|
||||||
qknight = "Joachim Schiele <js@lastlog.de>";
|
qknight = "Joachim Schiele <js@lastlog.de>";
|
||||||
raskin = "Michael Raskin <7c6f434c@mail.ru>";
|
raskin = "Michael Raskin <7c6f434c@mail.ru>";
|
||||||
|
redbaron = "Maxim Ivanov <ivanov.maxim@gmail.com>";
|
||||||
rickynils = "Rickard Nilsson <rickynils@gmail.com>";
|
rickynils = "Rickard Nilsson <rickynils@gmail.com>";
|
||||||
rob = "Rob Vermaas <rob.vermaas@gmail.com>";
|
rob = "Rob Vermaas <rob.vermaas@gmail.com>";
|
||||||
roconnor = "Russell O'Connor <roconnor@theorem.ca>";
|
roconnor = "Russell O'Connor <roconnor@theorem.ca>";
|
||||||
|
|
30
pkgs/development/libraries/libmsgpack/default.nix
Normal file
30
pkgs/development/libraries/libmsgpack/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ stdenv, fetchurl, autoconf, automake, libtool, ruby }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "0.5.8";
|
||||||
|
name = "libmsgpack-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/msgpack/msgpack-c/archive/cpp-${version}.tar.gz";
|
||||||
|
sha256 = "1h6k9kdbfavmw3by5kk3raszwa64hn9k8yw9rdhvl5m8g2lks89k";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ autoconf automake libtool ruby ];
|
||||||
|
|
||||||
|
outputs = [ "out" "lib" ];
|
||||||
|
|
||||||
|
preConfigure = "./bootstrap";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $lib/lib
|
||||||
|
mv $out/lib/*.so.* $lib/lib/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "MessagePack implementation for C and C++";
|
||||||
|
homepage = http://msgpack.org;
|
||||||
|
maintainers = [ maintainers.redbaron ];
|
||||||
|
license = licenses.asl20;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -4913,6 +4913,8 @@ let
|
||||||
|
|
||||||
libmtp = callPackage ../development/libraries/libmtp { };
|
libmtp = callPackage ../development/libraries/libmtp { };
|
||||||
|
|
||||||
|
libmsgpack = callPackage ../development/libraries/libmsgpack { };
|
||||||
|
|
||||||
libnatspec = callPackage ../development/libraries/libnatspec { };
|
libnatspec = callPackage ../development/libraries/libnatspec { };
|
||||||
|
|
||||||
libnfsidmap = callPackage ../development/libraries/libnfsidmap { };
|
libnfsidmap = callPackage ../development/libraries/libnfsidmap { };
|
||||||
|
|
Loading…
Reference in a new issue