3
0
Fork 0
forked from mirrors/nixpkgs

libyaml-cpp: add versions 0.5.1 and 0.3.0

The two versions are actively maintained, and the API changed between them.
This commit is contained in:
Carles Pagès 2013-07-02 22:42:47 +02:00
parent 71e735998e
commit bf4bcd900d
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{stdenv, fetchurl, cmake, boostHeaders}:
stdenv.mkDerivation {
name = "libyaml-cpp-0.3.0";
src = fetchurl {
url = http://yaml-cpp.googlecode.com/files/yaml-cpp-0.3.0.tar.gz;
sha256 = "10kv25zgq96ybxc6c19lzpax1xi5lpxrdqa9x52nffsql6skil1c";
};
buildInputs = [ cmake boostHeaders ];
meta = {
homepage = http://code.google.com/p/yaml-cpp/;
description = "A YAML parser and emitter for C++";
license = "MIT";
};
}

View file

@ -0,0 +1,18 @@
{stdenv, fetchurl, cmake, boostHeaders}:
stdenv.mkDerivation {
name = "libyaml-cpp-0.5.1";
src = fetchurl {
url = http://yaml-cpp.googlecode.com/files/yaml-cpp-0.5.1.tar.gz;
sha256 = "01kg0h8ksp162kdhyzn67vnlxpj5zjbks84sh50pv61xni990z1y";
};
buildInputs = [ cmake boostHeaders ];
meta = {
homepage = http://code.google.com/p/yaml-cpp/;
description = "A YAML parser and emitter for C++";
license = "MIT";
};
}

View file

@ -4993,6 +4993,9 @@ let
libyaml = callPackage ../development/libraries/libyaml { };
libyamlcpp = callPackage ../development/libraries/libyaml-cpp { };
libyamlcpp03 = callPackage ../development/libraries/libyaml-cpp/0.3.x.nix { };
libzip = callPackage ../development/libraries/libzip { };
libzrtpcpp = callPackage ../development/libraries/libzrtpcpp { };