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