depot/third_party/nixpkgs/pkgs/development/python-modules/aioftp/default.nix
Default email a425ba4985 Project import generated by Copybara.
GitOrigin-RevId: 5b091d4fbe3b7b7493c3b46fe0842e4b30ea24b3
2021-12-30 14:39:12 +01:00

47 lines
807 B
Nix

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