6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
30 lines
672 B
Nix
30 lines
672 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, sphinx
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinx-thebe";
|
|
version = "0.2.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-CHZ6WacLlFhpGyujW7b2KkRSlGmUR3rlg5ulPMsKUoc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|