depot/third_party/nixpkgs/pkgs/development/python-modules/jupyter-ui-poll/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

38 lines
921 B
Nix

{ 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 ];
};
}