summary refs log tree commit diff
path: root/pkgs/development/python-modules/jupyter-ui-poll/default.nix
blob: 2b6a62f886f03e781bee3f10db85998c100679c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, ipython
}:

buildPythonPackage rec {
  pname = "jupyter-ui-poll";
  version = "0.2.2";
  format = "pyproject";

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "Kirill888";
    repo = "jupyter-ui-poll";
    rev = "refs/tags/v${version}";
    hash = "sha256-DWZFvzx0aNTmf1x8Rq19OT0PFRxdpKefWYFh8C116Fw";
  };

  nativeBuildInputs = [ setuptools ];
  propagatedBuildInputs = [
    ipython
  ];

  doCheck = false;  # no tests in package :(
  pythonImportsCheck = [ "jupyter_ui_poll" ];

  meta = with lib; {
    description = "Block jupyter cell execution while interacting with widgets";
    homepage = "https://github.com/Kirill888/jupyter-ui-poll";
    changelog = "https://github.com/Kirill888/jupyter-ui-poll/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ bcdarwin ];
  };
}