1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 traitlets,
7 pytestCheckHook,
8}:
9
10let
11 pname = "comm";
12 version = "0.2.2";
13in
14buildPythonPackage {
15 inherit pname version;
16 format = "pyproject";
17
18 src = fetchFromGitHub {
19 owner = "ipython";
20 repo = "comm";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-51HSSULhbKb1NdLJ//b3Vh6sOLWp0B4KW469htpduqM=";
23 };
24
25 nativeBuildInputs = [ hatchling ];
26
27 propagatedBuildInputs = [ traitlets ];
28
29 nativeCheckInputs = [ pytestCheckHook ];
30
31 meta = with lib; {
32 description = "Jupyter Python Comm implementation, for usage in ipykernel, xeus-python etc";
33 homepage = "https://github.com/ipython/comm";
34 license = licenses.bsd3;
35 maintainers = [ ];
36 };
37}