2021-04-25 03:57:28 +00:00
|
|
|
{ lib
|
2023-08-22 20:05:09 +00:00
|
|
|
, beautifulsoup4
|
2021-04-25 03:57:28 +00:00
|
|
|
, buildPythonPackage
|
2023-08-22 20:05:09 +00:00
|
|
|
, css-html-js-minify
|
2021-04-25 03:57:28 +00:00
|
|
|
, fetchPypi
|
2023-08-22 20:05:09 +00:00
|
|
|
, lxml
|
2021-04-25 03:57:28 +00:00
|
|
|
, python-slugify
|
2023-08-22 20:05:09 +00:00
|
|
|
, pythonOlder
|
|
|
|
, sphinx
|
2021-04-25 03:57:28 +00:00
|
|
|
, unidecode
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-material";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "0.0.36";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "sphinx_material";
|
|
|
|
inherit version;
|
2023-08-22 20:05:09 +00:00
|
|
|
hash = "sha256-7v9ffT3AFq8yuv33DGbmcdFch1Tb4GE9+9Yp++2RKGk=";
|
2021-04-25 03:57:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
sphinx
|
|
|
|
beautifulsoup4
|
|
|
|
python-slugify
|
|
|
|
unidecode
|
|
|
|
css-html-js-minify
|
|
|
|
lxml
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # no tests
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"sphinx_material"
|
|
|
|
];
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A material-based, responsive theme inspired by mkdocs-material";
|
|
|
|
homepage = "https://bashtage.github.io/sphinx-material";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ FlorianFranzen ];
|
|
|
|
};
|
|
|
|
}
|