nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 845 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 ipython, 7}: 8 9buildPythonPackage rec { 10 pname = "jupyter-ui-poll"; 11 version = "1.1.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "Kirill888"; 16 repo = "jupyter-ui-poll"; 17 tag = "v${version}"; 18 hash = "sha256-Q+y0Xr7wuo8ZwCHEELSi0QSXa8DLtfZ8XQc48eOk4bw="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ ipython ]; 24 25 doCheck = false; # no tests in package :( 26 pythonImportsCheck = [ "jupyter_ui_poll" ]; 27 28 meta = { 29 description = "Block jupyter cell execution while interacting with widgets"; 30 homepage = "https://github.com/Kirill888/jupyter-ui-poll"; 31 changelog = "https://github.com/Kirill888/jupyter-ui-poll/releases/tag/${src.tag}"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ bcdarwin ]; 34 }; 35}