python3Packages.aioftp: 0.19.0 -> 0.20.0

This commit is contained in:
Fabian Affolter 2021-12-27 23:53:09 +01:00 committed by Jonathan Ringer
parent 0d6ca098f8
commit 70aa08bd43

View File

@ -1,43 +1,47 @@
{ lib
, async-timeout
, buildPythonPackage
, fetchPypi
, isPy27
, pytest
, pytest-asyncio
, pytest-cov
, pytestCheckHook
, pythonOlder
, siosocks
, trustme
, async-timeout
}:
buildPythonPackage rec {
pname = "aioftp";
version = "0.19.0";
disabled = isPy27;
version = "0.20.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "d1c2571764c48e6de1b02952022c3c3b3da1f10806cb342ec7b1fa9b109e9902";
sha256 = "sha256-N8qiKsWPaFT/t5p1eSHS0BydoXv4AL6y8gP4z4P9fsE=";
};
checkInputs = [
pytest
pytest-asyncio
pytest-cov
trustme
async-timeout
propagatedBuildInputs = [
siosocks
];
doCheck = false; # requires siosocks, not packaged yet
checkPhase = ''
pytest
'';
checkInputs = [
async-timeout
pytest-asyncio
pytest-cov
pytestCheckHook
trustme
];
pythonImportsCheck = [ "aioftp" ];
pythonImportsCheck = [
"aioftp"
];
meta = with lib; {
description = "Ftp client/server for asyncio";
description = "Python FTP client/server for asyncio";
homepage = "https://github.com/aio-libs/aioftp";
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
};
}