depot/third_party/nixpkgs/pkgs/development/python-modules/pydata-sphinx-theme/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

42 lines
823 B
Nix

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