1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatch-vcs, 6 hatchling, 7 pythonOlder, 8 sphinx, 9}: 10 11buildPythonPackage rec { 12 pname = "sphinx-thebe"; 13 version = "0.3.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 inherit version; 20 pname = "sphinx_thebe"; 21 hash = "sha256-V2BH9FVg6C9kql8VIAsesJTc/hxbj1MaimW9II4lpJM="; 22 }; 23 24 nativeBuildInputs = [ 25 hatch-vcs 26 hatchling 27 ]; 28 29 propagatedBuildInputs = [ sphinx ]; 30 31 pythonImportsCheck = [ "sphinx_thebe" ]; 32 33 meta = with lib; { 34 description = "Integrate interactive code blocks into your documentation with Thebe and Binder"; 35 homepage = "https://github.com/executablebooks/sphinx-thebe"; 36 changelog = "https://github.com/executablebooks/sphinx-thebe/releases/tag/v${version}"; 37 license = licenses.mit; 38 maintainers = [ ]; 39 }; 40}