1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6 traitlets,
7 pytestCheckHook,
8}:
9
10let
11 pname = "comm";
12 version = "0.2.3";
13in
14buildPythonPackage {
15 inherit pname version;
16 format = "pyproject";
17
18 src = fetchFromGitHub {
19 owner = "ipython";
20 repo = "comm";
21 tag = "v${version}";
22 hash = "sha256-gDggPu2h43lGyovTND9a3o9F2hWppV5uvAJa78JxJCo=";
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}