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