43 lines
835 B
Nix
43 lines
835 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, pythonOlder
|
||
|
, fetchPypi
|
||
|
, sphinx
|
||
|
, beautifulsoup4
|
||
|
, docutils
|
||
|
, packaging
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "pydata-sphinx-theme";
|
||
|
version = "0.8.1";
|
||
|
|
||
|
format = "wheel";
|
||
|
|
||
|
disabled = pythonOlder "3.7";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit version format;
|
||
|
dist = "py3";
|
||
|
python = "py3";
|
||
|
pname = "pydata_sphinx_theme";
|
||
|
sha256 = "af2c99cb0b43d95247b1563860942ba75d7f1596360594fce510caaf8c4fcc16";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|