ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / sphinx-book-theme / default.nix
blob10f45cb6a7d5da8278d5e5ae412d047a9860593d
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchPypi
5 , sphinx
6 , pydata-sphinx-theme
7 , pyyaml
8 }:
10 buildPythonPackage rec {
11   pname = "sphinx-book-theme";
12   version = "0.3.3";
14   format = "wheel";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit version format;
20     dist = "py3";
21     python = "py3";
22     pname = "sphinx_book_theme";
23     sha256 = "9685959dbbb492af005165ef1b9229fdd5d5431580ac181578beae3b4d012d91";
24   };
26   propagatedBuildInputs = [
27     sphinx
28     pydata-sphinx-theme
29     pyyaml
30   ];
32   pythonImportsCheck = [ "sphinx_book_theme" ];
34   meta = with lib; {
35     description = "A clean book theme for scientific explanations and documentation with Sphinx";
36     homepage = "https://github.com/executablebooks/sphinx-book-theme";
37     license = licenses.bsd3;
38     maintainers = with maintainers; [ marsam ];
39     # Missing sphinx 5.X support
40     # https://github.com/executablebooks/sphinx-book-theme/issues/592
41     broken = true;
42   };