1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 setuptools,
7 ipython,
8}:
9
10buildPythonPackage rec {
11 pname = "jupyter-ui-poll";
12 version = "0.2.2";
13 format = "pyproject";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchFromGitHub {
18 owner = "Kirill888";
19 repo = "jupyter-ui-poll";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-DWZFvzx0aNTmf1x8Rq19OT0PFRxdpKefWYFh8C116Fw";
22 };
23
24 nativeBuildInputs = [ setuptools ];
25 propagatedBuildInputs = [ ipython ];
26
27 doCheck = false; # no tests in package :(
28 pythonImportsCheck = [ "jupyter_ui_poll" ];
29
30 meta = with lib; {
31 description = "Block jupyter cell execution while interacting with widgets";
32 homepage = "https://github.com/Kirill888/jupyter-ui-poll";
33 changelog = "https://github.com/Kirill888/jupyter-ui-poll/releases/tag/v${version}";
34 license = licenses.mit;
35 maintainers = with maintainers; [ bcdarwin ];
36 };
37}