1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

Add libyaml and PyYAML.

svn path=/nixpkgs/trunk/; revision=19477
This commit is contained in:
Nicolas Pierron 2010-01-16 10:37:29 +00:00
parent 8b94315e22
commit 841e48d19b
3 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "libyaml";
src = fetchurl {
url = http://pyyaml.org/download/libyaml/yaml-0.1.3.tar.gz;
sha256 = "a8bbad7e5250b3735126b7e3bd9f6fce9db19d6be7cc13abad17a24b59ec144a";
};
meta = {
homepage = http://pyyaml.org/;
description = "A YAML 1.1 parser and emitter written in C";
license = "free";
};
}

View file

@ -4231,6 +4231,10 @@ let
inherit fetchurl stdenv;
});
libyaml = import ../development/libraries/libyaml {
inherit fetchurl stdenv;
};
libzip = import ../development/libraries/libzip {
inherit fetchurl stdenv zlib;
};

View file

@ -409,6 +409,24 @@ rec {
};
});
pyyaml = buildPythonPackage (rec {
name = "PyYAML-3.09";
src = fetchurl {
url = "http://pyyaml.org/download/pyyaml/PyYAML-3.09.zip";
sha256 = "204aca8b42dbe90e460794d743dd16182011da85507bfd4f092f9f76e0688040";
};
buildInputs = [ pkgs.unzip pkgs.pyrex ];
propagatedBuildInputs = [ pkgs.libyaml ];
meta = {
description = "The next generation YAML parser and emitter for Python";
homepage = http://pyyaml.org;
license = "free"; # !?
};
});
setuptoolsDarcs = buildPythonPackage {
name = "setuptools-darcs-1.2.8";