2019-03-14 09:50:49 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, cython, libyaml, buildPackages }:
|
2018-02-03 11:12:06 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyYAML";
|
2021-01-22 18:40:31 +00:00
|
|
|
version = "5.4.1";
|
2018-02-03 11:12:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-22 18:40:31 +00:00
|
|
|
sha256 = "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e";
|
2018-02-03 11:12:06 +00:00
|
|
|
};
|
|
|
|
|
2019-03-14 09:50:49 +00:00
|
|
|
nativeBuildInputs = [ cython buildPackages.stdenv.cc ];
|
|
|
|
|
|
|
|
buildInputs = [ libyaml ];
|
2018-02-03 11:12:06 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The next generation YAML parser and emitter for Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/yaml/pyyaml";
|
2018-02-03 11:12:06 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|