My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/aioftp/default.nix

45 lines
779 B

{ lib
, async-timeout
, buildPythonPackage
, fetchPypi
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, siosocks
, trustme
}:
buildPythonPackage rec {
pname = "aioftp";
version = "0.21.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-JWzeBdCPXLYMmKkvCqQQF/mHoRbdRvj0vKVF4+D8LSI=";
};
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 ];
};
}