12 buildPythonPackage rec {
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
22 rev = "refs/tags/${version}";
23 hash = "sha256-IQoZd9Lp0ZHLAQN3PFwMsZVTsIVJyIaT9D6fpkzA8IA=";
31 buildInputs = [ libyaml ];
33 pythonImportsCheck = [ "yaml" ];
35 nativeCheckInputs = [ pytestCheckHook ];
38 changelog = "https://github.com/yaml/pyyaml/blob/${src.rev}/CHANGES";
39 description = "Next generation YAML parser and emitter for Python";
40 homepage = "https://github.com/yaml/pyyaml";
41 license = licenses.mit;
42 maintainers = with maintainers; [ dotlambda ];