mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #277755 from fabaff/aioftp-bump
python311Packages.aioftp: 0.21.4 -> 0.22.2
This commit is contained in:
commit
fd61dfe9c1
@ -6,32 +6,48 @@
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, siosocks
|
||||
, trustme
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioftp";
|
||||
version = "0.21.4";
|
||||
format = "setuptools";
|
||||
version = "0.22.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-KLsm1GFsfDgaFUMoH5hwUbjS0dW/rwI9nn4sIQXFG7k=";
|
||||
hash = "sha256-YcHNpxpldxW0GZRCt9t0XcW+rgWGW43w3QFMBSQK3LA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
siosocks
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
socks = [
|
||||
siosocks
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
async-timeout
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
trustme
|
||||
];
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
disabledTests = lib.optionals stdenv.isDarwin [
|
||||
# uses 127.0.0.2, which macos doesn't like
|
||||
@ -44,7 +60,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python FTP client/server for asyncio";
|
||||
homepage = "https://github.com/aio-libs/aioftp";
|
||||
homepage = "https://aioftp.readthedocs.io/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user