2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, cython, libyaml, buildPackages }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "PyYAML";
|
2021-02-19 19:06:45 +00:00
|
|
|
version = "5.4.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-19 19:06:45 +00:00
|
|
|
sha256 = "607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cython buildPackages.stdenv.cc ];
|
|
|
|
|
|
|
|
buildInputs = [ 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 ];
|
|
|
|
};
|
|
|
|
}
|