anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / pyee / default.nix
blob3c3d7e63d2af9f06e8ed385f46fad0fe8d5ac781
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   mock,
6   pytest-asyncio,
7   pytest-trio,
8   pytestCheckHook,
9   pythonOlder,
10   setuptools,
11   setuptools-scm,
12   twisted,
13   typing-extensions,
14   wheel,
17 buildPythonPackage rec {
18   pname = "pyee";
19   version = "12.1.1";
20   format = "pyproject";
22   disabled = pythonOlder "3.8";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-u8M8CeL/gn90GR4+W7xr59oC9ie37DDYb1zhpvskJKM=";
27   };
29   nativeBuildInputs = [
30     setuptools
31     setuptools-scm
32     wheel
33   ];
35   propagatedBuildInputs = [ typing-extensions ];
37   nativeCheckInputs = [
38     mock
39     pytest-asyncio
40     pytest-trio
41     pytestCheckHook
42     twisted
43   ];
45   pythonImportsCheck = [ "pyee" ];
47   meta = with lib; {
48     description = "Port of Node.js's EventEmitter to Python";
49     homepage = "https://github.com/jfhbrook/pyee";
50     license = licenses.mit;
51     maintainers = with maintainers; [ kmein ];
52   };