Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, hatchling 5, importlib-metadata 6, mergedeep 7, platformdirs 8, pyyaml 9, pytestCheckHook 10}: 11 12buildPythonPackage rec { 13 pname = "mkdocs-get-deps"; 14 version = "0.2.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "mkdocs"; 19 repo = "get-deps"; 20 rev = "v${version}"; 21 hash = "sha256-DahmSYWYhVch950InYBiCh6qz1pH2Kibf5ixwCNdsTg="; 22 }; 23 24 build-system = [ hatchling ]; 25 26 dependencies = [ 27 importlib-metadata 28 mergedeep 29 platformdirs 30 pyyaml 31 ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 pythonImportsCheck = [ "mkdocs_get_deps" ]; 36 37 meta = with lib; { 38 description = "An extra command for MkDocs that infers required PyPI packages from `plugins` in mkdocs.yml"; 39 homepage = "https://github.com/mkdocs/get-deps"; 40 license = licenses.mit; 41 maintainers = [ ]; 42 }; 43}