2014-10-05 13:23:17 +01:00
|
|
|
{ stdenv, fetchurl, cmake}:
|
2014-03-29 12:28:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-10-05 13:23:17 +01:00
|
|
|
version = "0.5.9";
|
2014-03-29 12:28:25 +00:00
|
|
|
name = "libmsgpack-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/msgpack/msgpack-c/archive/cpp-${version}.tar.gz";
|
2014-10-05 13:23:17 +01:00
|
|
|
sha256 = "0xy204srq5grng7p17hwdxpfzbsfrn89gi4c3k62a23p4f9z0szq";
|
2014-03-29 12:28:25 +00:00
|
|
|
};
|
|
|
|
|
2014-10-05 13:23:17 +01:00
|
|
|
buildInputs = [ cmake ];
|
|
|
|
patches = [ ./CMakeLists.patch ];
|
2014-05-06 22:42:21 +01:00
|
|
|
|
2014-03-29 12:28:25 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "MessagePack implementation for C and C++";
|
|
|
|
homepage = http://msgpack.org;
|
|
|
|
maintainers = [ maintainers.redbaron ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|