depot/third_party/nixpkgs/pkgs/development/python-modules/aioextensions/default.nix
Default email a944afd061 Project import generated by Copybara.
GitOrigin-RevId: 2247d824fe07f16325596acc7faa286502faffd1
2020-11-21 20:51:51 +01:00

35 lines
707 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, pythonOlder
# Python dependencies
, uvloop
, pytest
}:
buildPythonPackage rec {
pname = "aioextensions";
version = "20.11.1621472";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "abfb2a27590f20b04808192e6c9c5f93298656c013546850c4505b5070a8cc82";
};
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 ];
};
}