1{ 2 lib, 3 beautifulsoup4, 4 buildPythonPackage, 5 css-html-js-minify, 6 fetchPypi, 7 lxml, 8 python-slugify, 9 pythonOlder, 10 setuptools, 11 sphinx, 12 unidecode, 13 versioneer, 14}: 15 16buildPythonPackage rec { 17 pname = "sphinx-material"; 18 version = "0.0.36"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchPypi { 24 pname = "sphinx_material"; 25 inherit version; 26 hash = "sha256-7v9ffT3AFq8yuv33DGbmcdFch1Tb4GE9+9Yp++2RKGk="; 27 }; 28 29 postPatch = '' 30 # Remove vendorized versioneer.py 31 rm versioneer.py 32 ''; 33 34 build-system = [ 35 setuptools 36 versioneer 37 ]; 38 39 dependencies = [ 40 sphinx 41 beautifulsoup4 42 python-slugify 43 unidecode 44 css-html-js-minify 45 lxml 46 ]; 47 48 # Module has no tests 49 doCheck = false; 50 51 pythonImportsCheck = [ "sphinx_material" ]; 52 53 meta = with lib; { 54 description = "Material-based, responsive theme inspired by mkdocs-material"; 55 homepage = "https://bashtage.github.io/sphinx-material"; 56 changelog = "https://github.com/bashtage/sphinx-material/releases/tag/v${version}"; 57 license = licenses.mit; 58 maintainers = with maintainers; [ FlorianFranzen ]; 59 }; 60}