python311Packages.jupyter-events: 0.7.0 -> 0.9.0
Diff: https://github.com/jupyter/jupyter_events/compare/refs/tags/v0.7.0...v0.9.0 Changelog: https://github.com/jupyter/jupyter_events/releases/tag/v0.9.0
This commit is contained in:
parent
d67818b555
commit
f9ae83eeee
1 changed files with 12 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
|
||||
# build
|
||||
, hatchling
|
||||
|
@ -9,6 +10,7 @@
|
|||
, jsonschema
|
||||
, python-json-logger
|
||||
, pyyaml
|
||||
, referencing
|
||||
, traitlets
|
||||
|
||||
# optionals
|
||||
|
@ -23,14 +25,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-events";
|
||||
version = "0.7.0";
|
||||
format = "pyproject";
|
||||
version = "0.9.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jupyter";
|
||||
repo = "jupyter_events";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-hOx2/WiFpDjtmP+qC6Ew2VY4/gdvXuv2k76qtmS+61M=";
|
||||
hash = "sha256-LDj6dTtq3npJxLKBQEEwGQFeDPvWF2adHeJhOai2MRU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -41,9 +45,9 @@ buildPythonPackage rec {
|
|||
jsonschema
|
||||
python-json-logger
|
||||
pyyaml
|
||||
referencing
|
||||
traitlets
|
||||
]
|
||||
++ jsonschema.optional-dependencies.format
|
||||
++ jsonschema.optional-dependencies.format-nongpl;
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
|
@ -63,6 +67,10 @@ buildPythonPackage rec {
|
|||
export PATH="$out/bin:$PATH"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"jupyter_events"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/jupyter/jupyter_events/releases/tag/v${version}";
|
||||
description = "Configurable event system for Jupyter applications and extensions";
|
||||
|
|
Loading…
Reference in a new issue