msgpack: Update to 1.0.0

This commit is contained in:
William A. Kennington III 2015-03-10 11:44:59 -07:00
parent aad4e6fb84
commit 0de5e56d87
5 changed files with 44 additions and 19 deletions

View File

@ -0,0 +1,14 @@
{ callPackage, fetchFromGitHub, ... } @ args:
callPackage ./generic.nix (args // rec {
version = "0.5.9";
src = fetchFromGitHub {
owner = "msgpack";
repo = "msgpack-c";
rev = "cpp-${version}";
sha256 = "19cmlxfr0sc2b08a1mq9plk9fj5l1i20f69j4pvbhlnah3xqfdjs";
};
patches = [ ./0.5-CMake.patch ];
})

View File

@ -1,22 +1,12 @@
{ stdenv, fetchurl, cmake}:
{ callPackage, fetchFromGitHub, ... } @ args:
stdenv.mkDerivation rec {
version = "0.5.9";
name = "libmsgpack-${version}";
callPackage ./generic.nix (args // rec {
version = "1.0.0";
src = fetchurl {
url = "https://github.com/msgpack/msgpack-c/archive/cpp-${version}.tar.gz";
sha256 = "0xy204srq5grng7p17hwdxpfzbsfrn89gi4c3k62a23p4f9z0szq";
src = fetchFromGitHub {
owner = "msgpack";
repo = "msgpack-c";
rev = "cpp-${version}";
sha256 = "0vkhjil4rh5z9kvjfgzm79kfqwvlimvv49q74wlsjx7vgvv9019d";
};
buildInputs = [ cmake ];
patches = [ ./CMakeLists.patch ];
meta = with stdenv.lib; {
description = "MessagePack implementation for C and C++";
homepage = http://msgpack.org;
maintainers = [ maintainers.redbaron ];
license = licenses.asl20;
platforms = platforms.all;
};
}
})

View File

@ -0,0 +1,20 @@
{ stdenv, cmake
, version, src, patches ? [ ]
, ...
}:
stdenv.mkDerivation rec {
name = "libmsgpack-${version}";
inherit src patches;
buildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "MessagePack implementation for C and C++";
homepage = http://msgpack.org;
maintainers = with maintainers; [ redbaron wkennington ];
license = licenses.asl20;
platforms = platforms.all;
};
}

View File

@ -6331,6 +6331,7 @@ let
libmtp = callPackage ../development/libraries/libmtp { };
libmsgpack = callPackage ../development/libraries/libmsgpack { };
libmsgpack_0_5 = callPackage ../development/libraries/libmsgpack/0.5.nix { };
libnatspec = callPackage ../development/libraries/libnatspec { };