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:
parent
71e735998e
commit
bf4bcd900d
18
pkgs/development/libraries/libyaml-cpp/0.3.x.nix
Normal file
18
pkgs/development/libraries/libyaml-cpp/0.3.x.nix
Normal 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";
|
||||
};
|
||||
}
|
18
pkgs/development/libraries/libyaml-cpp/default.nix
Normal file
18
pkgs/development/libraries/libyaml-cpp/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue