depot/third_party/nixpkgs/pkgs/development/python-modules/aioextensions/default.nix
Default email 6ae7ad3cc5 Project import generated by Copybara.
GitOrigin-RevId: a322b32e9d74fb476944ff6cfb55833dc69cfaaa
2020-11-19 01:13:47 +01:00

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 ];
};
}