Commit 57cc5abf authored by Ben Darwin's avatar Ben Darwin
Browse files

python310Packages.jupyter-ui-poll: init at 0.2.2

parent 68378870
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -5195,6 +5195,8 @@ self: super: with self; {

  jupyter-server-ydoc = callPackage ../development/python-modules/jupyter-server-ydoc { };

  jupyter-ui-poll = callPackage ../development/python-modules/jupyter-ui-poll { };

  jupyter-ydoc = callPackage ../development/python-modules/jupyter-ydoc { };

  jupyterhub = callPackage ../development/python-modules/jupyterhub { };