Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyee / default.nix
blob281611c31bddd45e0acfcc1192513961758a9ec4
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , mock
5 , pytest-asyncio
6 , pytest-trio
7 , pytestCheckHook
8 , pythonOlder
9 , setuptools
10 , setuptools-scm
11 , twisted
12 , typing-extensions
13 , wheel
16 buildPythonPackage rec {
17   pname = "pyee";
18   version = "11.1.0";
19   format = "pyproject";
21   disabled = pythonOlder "3.8";
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-tTr5j2mQyBDt2bVrh3kQIaj1T9E9tO3RFCQ41EuiJj8=";
26   };
28   nativeBuildInputs = [
29     setuptools
30     setuptools-scm
31     wheel
32   ];
34   propagatedBuildInputs = [
35     typing-extensions
36   ];
38   nativeCheckInputs = [
39     mock
40     pytest-asyncio
41     pytest-trio
42     pytestCheckHook
43     twisted
44   ];
46   pythonImportsCheck = [
47     "pyee"
48   ];
50   meta = with lib; {
51     description = "A port of Node.js's EventEmitter to Python";
52     homepage = "https://github.com/jfhbrook/pyee";
53     license = licenses.mit;
54     maintainers = with maintainers; [ kmein ];
55   };