Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / sphinx-thebe / default.nix
bloba9d3f78c069aa299fbc3b5dc37cd6275ba60fbb3
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , hatch-vcs
5 , hatchling
6 , pythonOlder
7 , sphinx
8 }:
10 buildPythonPackage rec {
11   pname = "sphinx-thebe";
12   version = "0.3.1";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchPypi {
18     inherit version;
19     pname = "sphinx_thebe";
20     hash = "sha256-V2BH9FVg6C9kql8VIAsesJTc/hxbj1MaimW9II4lpJM=";
21   };
23   nativeBuildInputs = [
24     hatch-vcs
25     hatchling
26   ];
28   propagatedBuildInputs = [
29     sphinx
30   ];
32   pythonImportsCheck = [
33     "sphinx_thebe"
34   ];
36   meta = with lib; {
37     description = "Integrate interactive code blocks into your documentation with Thebe and Binder";
38     homepage = "https://github.com/executablebooks/sphinx-thebe";
39     changelog = "https://github.com/executablebooks/sphinx-thebe/releases/tag/v${version}";
40     license = licenses.mit;
41     maintainers = with maintainers; [ ];
42   };