6ae7ad3cc5
GitOrigin-RevId: a322b32e9d74fb476944ff6cfb55833dc69cfaaa
35 lines
695 B
Nix
35 lines
695 B
Nix
{ 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 ];
|
|
};
|
|
}
|