Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 54 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, aiofiles, buildPythonPackage, colorama, fetchFromGitHub, git, jsonschema, pdm-backend, pytestCheckHook,}:
buildPythonPackage rec { pname = "griffe"; version = "1.9.0"; pyproject = true;
src = fetchFromGitHub { owner = "mkdocstrings"; repo = "griffe"; tag = version; hash = "sha256-kP3n9NJ9dW8S2zEMAHgtWbJUQiYt7NadgrR7DD67+Vs="; };
build-system = [ pdm-backend ];
dependencies = [ colorama ];
nativeCheckInputs = [ git jsonschema pytestCheckHook ];
optional-dependencies = { async = [ aiofiles ]; };
pythonImportsCheck = [ "griffe" ];
disabledTestPaths = [ # Circular dependencies "tests/test_api.py" ];
meta = { description = "Signatures for entire Python programs"; homepage = "https://github.com/mkdocstrings/griffe"; changelog = "https://github.com/mkdocstrings/griffe/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.isc; maintainers = with lib.maintainers; [ fab ]; mainProgram = "griffe"; };}