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:
parent
8b94315e22
commit
841e48d19b
16
pkgs/development/libraries/libyaml/default.nix
Normal file
16
pkgs/development/libraries/libyaml/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue