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