1{ lib, buildPythonPackage, fetchPypi, libyaml, buildPackages }:
2
3buildPythonPackage rec {
4 pname = "PyYAML";
5 version = "3.13";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf";
10 };
11
12 nativeBuildInputs = [ buildPackages.stdenv.cc ];
13
14 propagatedBuildInputs = [ libyaml ];
15
16 meta = with lib; {
17 description = "The next generation YAML parser and emitter for Python";
18 homepage = https://github.com/yaml/pyyaml;
19 license = licenses.mit;
20 maintainers = with maintainers; [ dotlambda ];
21 };
22}