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