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