2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, sphinx
|
2023-03-04 12:14:45 +00:00
|
|
|
, accessible-pygments
|
2022-07-14 12:49:19 +00:00
|
|
|
, beautifulsoup4
|
|
|
|
, docutils
|
|
|
|
, packaging
|
2023-04-12 12:48:02 +00:00
|
|
|
, typing-extensions
|
2022-07-14 12:49:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pydata-sphinx-theme";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "0.15.2";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
format = "wheel";
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version format;
|
|
|
|
dist = "py3";
|
|
|
|
python = "py3";
|
|
|
|
pname = "pydata_sphinx_theme";
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-DF+h+pipsm2uWQZm/1dvJ+Jse6cI/udU7Lngc1ntRYg=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
sphinx
|
2023-03-04 12:14:45 +00:00
|
|
|
accessible-pygments
|
2022-07-14 12:49:19 +00:00
|
|
|
beautifulsoup4
|
|
|
|
docutils
|
|
|
|
packaging
|
2023-04-12 12:48:02 +00:00
|
|
|
typing-extensions
|
2022-07-14 12:49:19 +00:00
|
|
|
];
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"pydata_sphinx_theme"
|
|
|
|
];
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bootstrap-based Sphinx theme from the PyData community";
|
|
|
|
homepage = "https://github.com/pydata/pydata-sphinx-theme";
|
2023-10-09 19:29:22 +00:00
|
|
|
changelog = "https://github.com/pydata/pydata-sphinx-theme/releases/tag/v${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
license = licenses.bsd3;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
}
|