Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 58 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, beautifulsoup4, buildPythonPackage, fetchFromGitHub, griffe, inline-snapshot, mkdocs-autorefs, mkdocs-material, mkdocstrings, pdm-backend, pytestCheckHook,}:
buildPythonPackage rec { pname = "mkdocstrings-python"; version = "1.16.12"; pyproject = true;
src = fetchFromGitHub { owner = "mkdocstrings"; repo = "python"; tag = version; hash = "sha256-NL5gn8HgT0hvIlUDs//sErAaSVXvxLDJGT7nZX65ZVU="; };
build-system = [ pdm-backend ];
dependencies = [ griffe mkdocs-autorefs mkdocstrings ];
nativeCheckInputs = [ beautifulsoup4 inline-snapshot mkdocs-material pytestCheckHook ];
pythonImportsCheck = [ "mkdocstrings_handlers" ];
disabledTests = [ # Tests fails with AssertionError "test_windows_root_conversion" # TypeError "test_format_code" ];
meta = { description = "Python handler for mkdocstrings"; homepage = "https://github.com/mkdocstrings/python"; changelog = "https://github.com/mkdocstrings/python/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.isc; maintainers = with lib.maintainers; [ fab ]; };}