{ lib, buildPythonPackage, fetchFromGitHub, hatchling, mkdocs, pytestCheckHook, pytest-golden, }: buildPythonPackage rec { pname = "mkdocs-gen-files"; version = "0.6.0"; pyproject = true; src = fetchFromGitHub { owner = "oprypin"; repo = "mkdocs-gen-files"; tag = "v${version}"; hash = "sha256-9mOLRZZugaGCWR/Ms9z8CTvDp8QgAiGcKqiB/LGTApk="; }; build-system = [ hatchling ]; dependencies = [ mkdocs ]; nativeCheckInputs = [ pytestCheckHook pytest-golden ]; pythonImportsCheck = [ "mkdocs_gen_files" ]; meta = { description = "MkDocs plugin to programmatically generate documentation pages during the build"; homepage = "https://oprypin.github.io/mkdocs-gen-files/"; changelog = "https://github.com/oprypin/mkdocs-gen-files/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ erooke ]; }; }