Files
nixpkgs/pkgs/development/python-modules/jupyter-ui-poll/default.nix
2026-03-11 13:45:57 -04:00

36 lines
843 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
ipython,
}:
buildPythonPackage rec {
pname = "jupyter-ui-poll";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Kirill888";
repo = "jupyter-ui-poll";
tag = "v${version}";
hash = "sha256-Q+y0Xr7wuo8ZwCHEELSi0QSXa8DLtfZ8XQc48eOk4bw=";
};
build-system = [ flit-core ];
dependencies = [ ipython ];
doCheck = false; # no tests in package :(
pythonImportsCheck = [ "jupyter_ui_poll" ];
meta = {
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/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}