depot/third_party/nixpkgs/pkgs/development/python-modules/pyee/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

53 lines
868 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, vcversioner
, pytestrunner
, mock
, pytest
, pytest-asyncio
, pytest-trio
, twisted
, zipp ? null
, pyparsing ? null
, pyhamcrest
, futures ? null
, attrs ? null
, isPy27
}:
buildPythonPackage rec {
pname = "pyee";
version = "8.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "92dacc5bd2bdb8f95aa8dd2585d47ca1c4840e2adb95ccf90034d64f725bfd31";
};
buildInputs = [
vcversioner
];
checkInputs = [
mock
pyhamcrest
pytest
pytest-asyncio
pytest-trio
pytestrunner
twisted
] ++ lib.optional isPy27 [
attrs
futures
pyparsing
zipp
];
meta = {
description = "A port of Node.js's EventEmitter to python";
homepage = "https://github.com/jfhbrook/pyee";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kmein ];
};
}