2019-01-02 19:09:44 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, libyaml, buildPackages }:
|
2018-02-03 11:12:06 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyYAML";
|
2018-07-22 08:31:21 +01:00
|
|
|
version = "3.13";
|
2018-02-03 11:12:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 08:31:21 +01:00
|
|
|
sha256 = "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf";
|
2018-02-03 11:12:06 +00:00
|
|
|
};
|
|
|
|
|
2019-01-02 19:09:44 +00:00
|
|
|
nativeBuildInputs = [ buildPackages.stdenv.cc ];
|
|
|
|
|
2018-02-03 11:12:06 +00:00
|
|
|
propagatedBuildInputs = [ libyaml ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The next generation YAML parser and emitter for Python";
|
|
|
|
homepage = https://github.com/yaml/pyyaml;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|