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