depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-thebe/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

29 lines
660 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, sphinx
}:
buildPythonPackage rec {
pname = "sphinx-thebe";
version = "0.1.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "756f1dd6643f5abb491f8a27b22825b04f47e05c5d214bbb2e6b5d42b621b85e";
};
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 ];
};
}