nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 jupyter-core,
6 hatchling,
7 python-dateutil,
8 pyzmq,
9 tornado,
10 traitlets,
11}:
12
13buildPythonPackage rec {
14 pname = "jupyter-client";
15 version = "8.8.0";
16 pyproject = true;
17
18 src = fetchPypi {
19 pname = "jupyter_client";
20 inherit version;
21 hash = "sha256-1VaBFBmk8tlshprzToVOPwWbfMLW0Bqc2chcJnaRvj4=";
22 };
23
24 build-system = [ hatchling ];
25
26 dependencies = [
27 jupyter-core
28 python-dateutil
29 pyzmq
30 tornado
31 traitlets
32 ];
33
34 pythonImportsCheck = [ "jupyter_client" ];
35
36 # Circular dependency with ipykernel
37 doCheck = false;
38
39 meta = {
40 description = "Jupyter protocol implementation and client libraries";
41 homepage = "https://github.com/jupyter/jupyter_client";
42 changelog = "https://github.com/jupyter/jupyter_client/blob/v${version}/CHANGELOG.md";
43 license = lib.licenses.bsd3;
44 teams = [ lib.teams.jupyter ];
45 };
46}