2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, sphinx
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-thebe";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "0.2.1";
|
2023-01-11 07:51:40 +00:00
|
|
|
format = "setuptools";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "f4c8c1542054f991b73fcb28c4cf21697e42aba2f83f22348c1c851b82766583";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ sphinx ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "sphinx_thebe" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Integrate interactive code blocks into your documentation with Thebe and Binder";
|
|
|
|
homepage = "https://github.com/executablebooks/sphinx-thebe";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ marsam ];
|
|
|
|
};
|
|
|
|
}
|