1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, sphinx 6, pydata-sphinx-theme 7, pyyaml 8}: 9 10buildPythonPackage rec { 11 pname = "sphinx-book-theme"; 12 version = "0.3.3"; 13 14 format = "wheel"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit version format; 20 dist = "py3"; 21 python = "py3"; 22 pname = "sphinx_book_theme"; 23 sha256 = "9685959dbbb492af005165ef1b9229fdd5d5431580ac181578beae3b4d012d91"; 24 }; 25 26 propagatedBuildInputs = [ 27 sphinx 28 pydata-sphinx-theme 29 pyyaml 30 ]; 31 32 pythonImportsCheck = [ "sphinx_book_theme" ]; 33 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 }; 43}