diff --git a/pkgs/development/python-modules/pyee/default.nix b/pkgs/development/python-modules/pyee/default.nix index e47e0366c86..7a967c48a04 100644 --- a/pkgs/development/python-modules/pyee/default.nix +++ b/pkgs/development/python-modules/pyee/default.nix @@ -1,30 +1,36 @@ { lib , buildPythonPackage , fetchPypi -, vcversioner , mock -, pytestCheckHook , pytest-asyncio , pytest-trio -, twisted +, pytestCheckHook , pythonOlder +, twisted +, typing-extensions +, vcversioner }: buildPythonPackage rec { pname = "pyee"; version = "9.0.4"; + format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-J3DEkoq8ch9GtwXmpysMWUgMSmnJqDygsAu5lPHqSzI="; + hash = "sha256-J3DEkoq8ch9GtwXmpysMWUgMSmnJqDygsAu5lPHqSzI="; }; buildInputs = [ vcversioner ]; + propagatedBuildInputs = [ + typing-extensions + ]; + checkInputs = [ mock pytest-asyncio @@ -33,7 +39,9 @@ buildPythonPackage rec { twisted ]; - pythonImportsCheck = [ "pyee" ]; + pythonImportsCheck = [ + "pyee" + ]; meta = with lib; { description = "A port of Node.js's EventEmitter to Python";