depot/third_party/nixpkgs/pkgs/development/python-modules/pydata-sphinx-theme/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

42 lines
822 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, sphinx
, beautifulsoup4
, docutils
, packaging
}:
buildPythonPackage rec {
pname = "pydata-sphinx-theme";
version = "0.9.0";
format = "wheel";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version format;
dist = "py3";
python = "py3";
pname = "pydata_sphinx_theme";
sha256 = "sha256-sitEKm1kN+Xq8KHwVxaf/LMeqp8Qvn1UgaEl5zXHHBI=";
};
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 ];
};
}