diff options
Diffstat (limited to 'pkgs/development/python-modules/aioextensions/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aioextensions/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aioextensions/default.nix b/pkgs/development/python-modules/aioextensions/default.nix new file mode 100644 index 000000000000..62a6b90e9f8d --- /dev/null +++ b/pkgs/development/python-modules/aioextensions/default.nix @@ -0,0 +1,35 @@ +{ buildPythonPackage +, fetchPypi +, lib +, pythonOlder + +# Python dependencies +, uvloop +, pytest +}: + +buildPythonPackage rec { + pname = "aioextensions"; + version = "20.11.1517005"; + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "10b8ddhd77ixxi2i8mw86m388smp324f7rr0mdpkwdb0ra99ra8m"; + }; + + propagatedBuildInputs = [ uvloop ]; + + checkInputs = [ pytest ]; + checkPhase = '' + cd test/ + pytest + ''; + + meta = with lib; { + description = "High performance functions to work with the async IO"; + homepage = "https://kamadorueda.github.io/aioextensions"; + license = licenses.mit; + maintainers = with maintainers; [ kamadorueda ]; + }; +} |