biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / griffe / default.nix
blob208f6a7c827b4db5c3269df2c99640bf6f312aeb
2   lib,
3   aiofiles,
4   buildPythonPackage,
5   colorama,
6   fetchFromGitHub,
7   git,
8   jsonschema,
9   mkdocstrings,
10   pdm-backend,
11   pytestCheckHook,
12   pythonOlder,
15 buildPythonPackage rec {
16   pname = "griffe";
17   version = "1.4.1";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "mkdocstrings";
24     repo = "griffe";
25     rev = "refs/tags/${version}";
26     hash = "sha256-DgfoaRvgU4WWbCirbLld8f/C2bPrW576aX0HglaRjEU=";
27   };
29   build-system = [ pdm-backend ];
31   dependencies = [
32     colorama
33     mkdocstrings
34   ];
36   nativeCheckInputs = [
37     git
38     jsonschema
39     pytestCheckHook
40   ];
42   optional-dependencies = {
43     async = [ aiofiles ];
44   };
46   pythonImportsCheck = [ "griffe" ];
48   meta = with lib; {
49     description = "Signatures for entire Python programs";
50     homepage = "https://github.com/mkdocstrings/griffe";
51     changelog = "https://github.com/mkdocstrings/griffe/blob/${version}/CHANGELOG.md";
52     license = licenses.isc;
53     maintainers = with maintainers; [ fab ];
54     mainProgram = "griffe";
55   };