1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, sphinx
6}:
7
8buildPythonPackage rec {
9 pname = "sphinx-thebe";
10 version = "0.2.1";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "f4c8c1542054f991b73fcb28c4cf21697e42aba2f83f22348c1c851b82766583";
18 };
19
20 propagatedBuildInputs = [ sphinx ];
21
22 pythonImportsCheck = [ "sphinx_thebe" ];
23
24 meta = with lib; {
25 description = "Integrate interactive code blocks into your documentation with Thebe and Binder";
26 homepage = "https://github.com/executablebooks/sphinx-thebe";
27 license = licenses.mit;
28 maintainers = with maintainers; [ marsam ];
29 };
30}