1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 sphinx,
7 accessible-pygments,
8 beautifulsoup4,
9 docutils,
10 packaging,
11 typing-extensions,
12}:
13
14buildPythonPackage rec {
15 pname = "pydata-sphinx-theme";
16 version = "0.16.1";
17
18 format = "wheel";
19
20 disabled = pythonOlder "3.8";
21
22 src = fetchPypi {
23 inherit version format;
24 dist = "py3";
25 python = "py3";
26 pname = "pydata_sphinx_theme";
27 hash = "sha256-IlMx6KxLMmgsGPysWlem9xfE5jLOpd0OJHtVFV+uzN4=";
28 };
29
30 propagatedBuildInputs = [
31 sphinx
32 accessible-pygments
33 beautifulsoup4
34 docutils
35 packaging
36 typing-extensions
37 ];
38
39 pythonImportsCheck = [ "pydata_sphinx_theme" ];
40
41 meta = with lib; {
42 description = "Bootstrap-based Sphinx theme from the PyData community";
43 homepage = "https://github.com/pydata/pydata-sphinx-theme";
44 changelog = "https://github.com/pydata/pydata-sphinx-theme/releases/tag/v${version}";
45 license = licenses.bsd3;
46 maintainers = [ ];
47 };
48}