mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
46 lines
779 B
Nix
46 lines
779 B
Nix
{ lib
|
|
, async-timeout
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, siosocks
|
|
, trustme
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioftp";
|
|
version = "0.21.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-TwORfChymaB4k5Q3CAPjsPaTXiQdjyi7s2fCN5qTT5I=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
siosocks
|
|
];
|
|
|
|
checkInputs = [
|
|
async-timeout
|
|
pytest-asyncio
|
|
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 ];
|
|
};
|
|
}
|