1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5, setuptools
6, ipython
7}:
8
9buildPythonPackage rec {
10 pname = "jupyter-ui-poll";
11 version = "0.2.2";
12 format = "pyproject";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchFromGitHub {
17 owner = "Kirill888";
18 repo = "jupyter-ui-poll";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-DWZFvzx0aNTmf1x8Rq19OT0PFRxdpKefWYFh8C116Fw";
21 };
22
23 nativeBuildInputs = [ setuptools ];
24 propagatedBuildInputs = [
25 ipython
26 ];
27
28 doCheck = false; # no tests in package :(
29 pythonImportsCheck = [ "jupyter_ui_poll" ];
30
31 meta = with lib; {
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 = licenses.mit;
36 maintainers = with maintainers; [ bcdarwin ];
37 };
38}