depot/third_party/nixpkgs/pkgs/development/python-modules/comm/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

43 lines
770 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, traitlets
, pytestCheckHook
}:
let
pname = "comm";
version = "0.1.2";
in
buildPythonPackage {
inherit pname version;
format = "pyproject";
src = fetchFromGitHub {
owner = "ipython";
repo = "comm";
rev = "refs/tags/${version}";
hash = "sha256-Ve6tCvu89P5wUOj+vlzXItRR5RjJNKxItKnWP2fVk9U=";
};
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; [ ];
};
}