evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / mkdocstrings-python / default.nix
blobefb5e612e0a740e82de2560c07284e0aa88d4d16
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   griffe,
6   mkdocs-material,
7   mkdocstrings,
8   pdm-backend,
9   pytestCheckHook,
10   pythonOlder,
13 buildPythonPackage rec {
14   pname = "mkdocstrings-python";
15   version = "1.12.2";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "mkdocstrings";
22     repo = "python";
23     rev = "refs/tags/${version}";
24     hash = "sha256-dc9RXbrwZS/7eAF0BrGS2kJxG62rB5RLxf3yNZ6+g4Q=";
25   };
27   build-system = [ pdm-backend ];
29   dependencies = [
30     griffe
31     mkdocstrings
32   ];
34   nativeCheckInputs = [
35     mkdocs-material
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "mkdocstrings_handlers" ];
41   disabledTests = [
42     # Tests fails with AssertionError
43     "test_windows_root_conversion"
44   ];
46   meta = with lib; {
47     description = "Python handler for mkdocstrings";
48     homepage = "https://github.com/mkdocstrings/python";
49     changelog = "https://github.com/mkdocstrings/python/blob/${version}/CHANGELOG.md";
50     license = licenses.isc;
51     maintainers = with maintainers; [ fab ];
52   };