diff --git a/pkgs/development/python-modules/pydata-sphinx-theme/default.nix b/pkgs/development/python-modules/pydata-sphinx-theme/default.nix new file mode 100644 index 000000000000..a19eacc1c194 --- /dev/null +++ b/pkgs/development/python-modules/pydata-sphinx-theme/default.nix @@ -0,0 +1,42 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 98452bf647cf..81a5223d2ce2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7255,6 +7255,8 @@ in { pydash = callPackage ../development/python-modules/pydash { }; + pydata-sphinx-theme = callPackage ../development/python-modules/pydata-sphinx-theme { }; + pydbus = callPackage ../development/python-modules/pydbus { }; pydeck = callPackage ../development/python-modules/pydeck { };