python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / sphinx-book-theme / default.nix
blob15d4262b69697dc59fb32a024692c864b51cb231
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   sphinx,
7   pydata-sphinx-theme,
8   jupyter-book,
9 }:
11 buildPythonPackage rec {
12   pname = "sphinx-book-theme";
13   version = "1.1.3";
15   format = "wheel";
17   disabled = pythonOlder "3.9";
19   src = fetchPypi {
20     inherit version format;
21     dist = "py3";
22     python = "py3";
23     pname = "sphinx_book_theme";
24     hash = "sha256-pVSpp6w4gZeah6KxD2M6oqVwbnIhihD3G+OLPJ6DGuk=";
25   };
27   propagatedBuildInputs = [
28     pydata-sphinx-theme
29     sphinx
30   ];
32   pythonImportsCheck = [ "sphinx_book_theme" ];
34   passthru.tests = {
35     inherit jupyter-book;
36   };
38   meta = with lib; {
39     description = "Clean book theme for scientific explanations and documentation with Sphinx";
40     homepage = "https://github.com/executablebooks/sphinx-book-theme";
41     changelog = "https://github.com/executablebooks/sphinx-book-theme/raw/v${version}/CHANGELOG.md";
42     license = licenses.bsd3;
43     maintainers = [ ];
44   };