depot/third_party/nixpkgs/pkgs/development/python-modules/pydata-sphinx-theme/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

48 lines
1,004 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
sphinx,
accessible-pygments,
beautifulsoup4,
docutils,
packaging,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pydata-sphinx-theme";
version = "0.15.4";
format = "wheel";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version format;
dist = "py3";
python = "py3";
pname = "pydata_sphinx_theme";
hash = "sha256-ITatDpUA0JSflhZ+Y/PimGIAQK6o+cdGIZWe2l1M+OY=";
};
propagatedBuildInputs = [
sphinx
accessible-pygments
beautifulsoup4
docutils
packaging
typing-extensions
];
pythonImportsCheck = [ "pydata_sphinx_theme" ];
meta = with lib; {
description = "Bootstrap-based Sphinx theme from the PyData community";
homepage = "https://github.com/pydata/pydata-sphinx-theme";
changelog = "https://github.com/pydata/pydata-sphinx-theme/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}