43 lines
771 B
Nix
43 lines
771 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, hatchling
|
|
, traitlets
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
let
|
|
pname = "comm";
|
|
version = "0.2.1";
|
|
in
|
|
buildPythonPackage {
|
|
inherit pname version;
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ipython";
|
|
repo = "comm";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-iyO3q9E2lYU1rMYTnsa+ZJYh+Hq72LEvE9ynebFIBUk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
hatchling
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
traitlets
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Jupyter Python Comm implementation, for usage in ipykernel, xeus-python etc";
|
|
homepage = "https://github.com/ipython/comm";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|
|
|