Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyee / default.nix
blob7e388b93971ba5426dac54ead65c23c6089786d6
1 { buildPythonPackage, fetchPypi, lib, vcversioner, pytestrunner, mock, pytest, pytest-asyncio, pytest-trio, twisted, zipp, pyparsing, pyhamcrest, futures, attrs, isPy27 }:
3 buildPythonPackage rec {
4   pname = "pyee";
5   version = "8.1.0";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "92dacc5bd2bdb8f95aa8dd2585d47ca1c4840e2adb95ccf90034d64f725bfd31";
10   };
12   buildInputs = [
13     vcversioner
14   ];
16   checkInputs = [
17     mock
18     pyhamcrest
19     pytest
20     pytest-asyncio
21     pytest-trio
22     pytestrunner
23     twisted
24   ] ++ lib.optional isPy27 [
25     attrs
26     futures
27     pyparsing
28     zipp
29   ];
31   meta = {
32     description = "A port of Node.js's EventEmitter to python";
33     homepage = "https://github.com/jfhbrook/pyee";
34     license = lib.licenses.mit;
35     maintainers = with lib.maintainers; [ kmein ];
36   };