pythonPackages.aioftp: init at 0.13.0

This commit is contained in:
Chris Ostrouchov 2019-07-15 12:12:56 -04:00 committed by Frederik Rietdijk
parent 7523cd4f89
commit ad4bbe8684
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, pytest
, pytest-asyncio
, pytestcov
, trustme
, async-timeout
}:
buildPythonPackage rec {
pname = "aioftp";
version = "0.13.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "5711c03433b510c101e9337069033133cca19b508b5162b414bed24320de6c18";
};
checkInputs = [
pytest
pytest-asyncio
pytestcov
trustme
async-timeout
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Ftp client/server for asyncio";
homepage = https://github.com/aio-libs/aioftp;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -1206,6 +1206,8 @@ in {
aioh2 = callPackage ../development/python-modules/aioh2 { };
aioftp = callPackage ../development/python-modules/aioftp { };
aiohttp = callPackage ../development/python-modules/aiohttp { };
aiohttp-cors = callPackage ../development/python-modules/aiohttp-cors { };