depot/third_party/nixpkgs/pkgs/development/python-modules/pydata-sphinx-theme/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

46 lines
873 B
Nix

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