anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / pyyaml / default.nix
blobf9aafffd09055ebe3666f608f5de1b15aab2ff27
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   cython,
7   setuptools,
8   libyaml,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "pyyaml";
14   version = "6.0.2";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "yaml";
21     repo = "pyyaml";
22     rev = "refs/tags/${version}";
23     hash = "sha256-IQoZd9Lp0ZHLAQN3PFwMsZVTsIVJyIaT9D6fpkzA8IA=";
24   };
26   build-system = [
27     cython
28     setuptools
29   ];
31   buildInputs = [ libyaml ];
33   pythonImportsCheck = [ "yaml" ];
35   nativeCheckInputs = [ pytestCheckHook ];
37   meta = with lib; {
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 ];
43   };