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.14.0";
16
17 format = "wheel";
18
19 disabled = pythonOlder "3.8";
20
21 src = fetchPypi {
22 inherit version format;
23 dist = "py3";
24 python = "py3";
25 pname = "pydata_sphinx_theme";
26 hash = "sha256-vffSdZFOdnVijKK/brOiHQ76DmuZo6VCGDJZQHZ1TDM=";
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 changelog = "https://github.com/pydata/pydata-sphinx-theme/releases/tag/v${version}";
46 license = licenses.bsd3;
47 maintainers = with maintainers; [ marsam ];
48 };
49}