23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
49 lines
1,005 B
Nix
49 lines
1,005 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, sphinx
|
|
, accessible-pygments
|
|
, beautifulsoup4
|
|
, docutils
|
|
, packaging
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pydata-sphinx-theme";
|
|
version = "0.15.2";
|
|
|
|
format = "wheel";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit version format;
|
|
dist = "py3";
|
|
python = "py3";
|
|
pname = "pydata_sphinx_theme";
|
|
hash = "sha256-DF+h+pipsm2uWQZm/1dvJ+Jse6cI/udU7Lngc1ntRYg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
sphinx
|
|
accessible-pygments
|
|
beautifulsoup4
|
|
docutils
|
|
packaging
|
|
typing-extensions
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pydata_sphinx_theme"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Bootstrap-based Sphinx theme from the PyData community";
|
|
homepage = "https://github.com/pydata/pydata-sphinx-theme";
|
|
changelog = "https://github.com/pydata/pydata-sphinx-theme/releases/tag/v${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ marsam ];
|
|
};
|
|
}
|