8 buildPythonPackage rec {
9 pname = "mkdocs-exclude";
11 format = "setuptools";
13 # Repository has only 3 commits and no tags. Each of these commits has
14 # version of 1.0.0, 1.0.1 and 1.0.2 in setup.py, though.
15 src = fetchFromGitHub {
17 repo = "mkdocs-exclude";
18 rev = "fdd67d2685ff706de126e99daeaaaf3f6f7cf3ae";
19 sha256 = "1phhl79xf4xq8w2sb2w5zm4bahcr33gsbxkz7dl1dws4qhcbxrfd";
22 propagatedBuildInputs = [ mkdocs ];
24 # Attempt to import "mkdocs_exclude" module in stand-alone mode fails:
26 # module 'mkdocs.config' has no attribute 'config_options'
28 # It works fine when actually used to build documentation of "pydantic",
29 # though. This package has no tests.
33 description = "Mkdocs plugin to exclude files from input using globs or regexes";
34 homepage = "https://github.com/apenwarr/mkdocs-exclude";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ kaction ];