depot/third_party/nixpkgs/pkgs/development/python-modules/pydata-sphinx-theme/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

49 lines
1,005 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, sphinx
, accessible-pygments
, beautifulsoup4
, docutils
, packaging
, typing-extensions
}:
buildPythonPackage rec {
pname = "pydata-sphinx-theme";
version = "0.15.1";
format = "wheel";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version format;
dist = "py3";
python = "py3";
pname = "pydata_sphinx_theme";
hash = "sha256-Bk776WE3vQrKuAQTdZ8ds4pCtR4kKbFZr3XEOnWQMgs=";
};
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; [ marsam ];
};
}