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