mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
32 lines
824 B
Nix
32 lines
824 B
Nix
{ stdenv, fetchurl, autoconf, automake, libtool, ruby, scatterOutputHook }:
|
|
|
|
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";
|
|
};
|
|
|
|
nativeBuildInputs = [ scatterOutputHook ];
|
|
buildInputs = [ autoconf automake libtool ruby ];
|
|
|
|
outputs = [ "out" "bin" ];
|
|
|
|
preConfigure = ''
|
|
sed -i s,glibtoolize,libtoolize, ./bootstrap
|
|
./bootstrap
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "MessagePack implementation for C and C++";
|
|
homepage = http://msgpack.org;
|
|
maintainers = [ maintainers.redbaron ];
|
|
license = licenses.asl20;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|