nixpkgs/pkgs/development/python-modules/aioftp/default.nix

48 lines
807 B
Nix
Raw Normal View History

2019-07-15 18:12:56 +02:00
{ lib
, async-timeout
2019-07-15 18:12:56 +02:00
, buildPythonPackage
, fetchPypi
, pytest-asyncio
, pytest-cov
, pytestCheckHook
, pythonOlder
, siosocks
2019-07-15 18:12:56 +02:00
, trustme
}:
buildPythonPackage rec {
pname = "aioftp";
version = "0.20.0";
format = "setuptools";
disabled = pythonOlder "3.7";
2019-07-15 18:12:56 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-N8qiKsWPaFT/t5p1eSHS0BydoXv4AL6y8gP4z4P9fsE=";
2019-07-15 18:12:56 +02:00
};
propagatedBuildInputs = [
siosocks
];
2019-07-15 18:12:56 +02:00
checkInputs = [
async-timeout
2019-07-15 18:12:56 +02:00
pytest-asyncio
pytest-cov
pytestCheckHook
2019-07-15 18:12:56 +02:00
trustme
];
pythonImportsCheck = [
"aioftp"
];
2019-07-15 18:12:56 +02:00
meta = with lib; {
description = "Python FTP client/server for asyncio";
homepage = "https://github.com/aio-libs/aioftp";
2019-07-15 18:12:56 +02:00
license = licenses.asl20;
maintainers = with maintainers; [ costrouc ];
2019-07-15 18:12:56 +02:00
};
}