depot/third_party/nixpkgs/pkgs/development/python-modules/pyee/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

44 lines
750 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, vcversioner
, mock
, pytestCheckHook
, pytest-asyncio
, pytest-trio
, twisted
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyee";
version = "9.0.4";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-J3DEkoq8ch9GtwXmpysMWUgMSmnJqDygsAu5lPHqSzI=";
};
buildInputs = [
vcversioner
];
checkInputs = [
mock
pytest-asyncio
pytest-trio
pytestCheckHook
twisted
];
pythonImportsCheck = [ "pyee" ];
meta = with lib; {
description = "A port of Node.js's EventEmitter to Python";
homepage = "https://github.com/jfhbrook/pyee";
license = licenses.mit;
maintainers = with maintainers; [ kmein ];
};
}