2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, sphinx
|
|
|
|
, beautifulsoup4
|
|
|
|
, docutils
|
|
|
|
, packaging
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pydata-sphinx-theme";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "0.12.0";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version format;
|
|
|
|
dist = "py3";
|
|
|
|
python = "py3";
|
|
|
|
pname = "pydata_sphinx_theme";
|
2022-11-21 17:40:18 +00:00
|
|
|
sha256 = "sha256-wX26tno3dPBvNPY3jolvzQZozItdocG6AX5lzx3wr1g=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
sphinx
|
|
|
|
beautifulsoup4
|
|
|
|
docutils
|
|
|
|
packaging
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pydata_sphinx_theme" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bootstrap-based Sphinx theme from the PyData community";
|
|
|
|
homepage = "https://github.com/pydata/pydata-sphinx-theme";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ marsam ];
|
|
|
|
};
|
|
|
|
}
|