1{
2 lib,
3 beautifulsoup4,
4 buildPythonPackage,
5 css-html-js-minify,
6 fetchPypi,
7 lxml,
8 python-slugify,
9 pythonOlder,
10 sphinx,
11 unidecode,
12}:
13
14buildPythonPackage rec {
15 pname = "sphinx-material";
16 version = "0.0.36";
17 format = "setuptools";
18
19 disabled = pythonOlder "3.7";
20
21 src = fetchPypi {
22 pname = "sphinx_material";
23 inherit version;
24 hash = "sha256-7v9ffT3AFq8yuv33DGbmcdFch1Tb4GE9+9Yp++2RKGk=";
25 };
26
27 propagatedBuildInputs = [
28 sphinx
29 beautifulsoup4
30 python-slugify
31 unidecode
32 css-html-js-minify
33 lxml
34 ];
35
36 doCheck = false; # no tests
37
38 pythonImportsCheck = [ "sphinx_material" ];
39
40 meta = with lib; {
41 description = "Material-based, responsive theme inspired by mkdocs-material";
42 homepage = "https://bashtage.github.io/sphinx-material";
43 license = licenses.mit;
44 maintainers = with maintainers; [ FlorianFranzen ];
45 };
46}