23 pytest-console-scripts,
27 buildPythonPackage rec {
28 pname = "jupyter-events";
32 disabled = pythonOlder "3.8";
34 src = fetchFromGitHub {
36 repo = "jupyter_events";
37 rev = "refs/tags/v${version}";
38 hash = "sha256-8aps8aNgXw+XbDgtCvWw+Ij1Cm1N0G+wcL35ySkofOk=";
41 nativeBuildInputs = [ hatchling ];
43 propagatedBuildInputs = [
49 ] ++ jsonschema.optional-dependencies.format-nongpl;
51 optional-dependencies = {
60 pytest-console-scripts
62 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
65 export PATH="$out/bin:$PATH"
68 pythonImportsCheck = [ "jupyter_events" ];
71 changelog = "https://github.com/jupyter/jupyter_events/releases/tag/v${version}";
72 description = "Configurable event system for Jupyter applications and extensions";
73 mainProgram = "jupyter-events";
74 homepage = "https://github.com/jupyter/jupyter_events";
75 license = licenses.bsd3;