lol

Merge pull request #252356 from tjni/aioredis

python311Packages.aioredis: fetch patch for python 3.11 compatibility

authored by

OTABI Tomoya and committed by
GitHub
0f086eac ef6b0e46

+14 -2
+14 -2
pkgs/development/python-modules/aioredis/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , async-timeout 5 , typing-extensions ··· 11 buildPythonPackage rec { 12 pname = "aioredis"; 13 version = "2.0.1"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - sha256 = "eaa51aaf993f2d71f54b70527c440437ba65340588afeb786cd87c55c89cd98e"; 20 }; 21 22 propagatedBuildInputs = [ 23 async-timeout 24 typing-extensions ··· 29 30 meta = with lib; { 31 description = "Asyncio (PEP 3156) Redis client library"; 32 - homepage = "https://github.com/aio-libs/aioredis"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ mmai ]; 35 };
··· 1 { lib 2 , buildPythonPackage 3 + , fetchpatch 4 , fetchPypi 5 , async-timeout 6 , typing-extensions ··· 12 buildPythonPackage rec { 13 pname = "aioredis"; 14 version = "2.0.1"; 15 + format = "setuptools"; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchPypi { 20 inherit pname version; 21 + hash = "sha256-6qUar5k/LXH1S3BSfEQEN7plNAWIr+t4bNh8Vcic2Y4="; 22 }; 23 24 + patches = [ 25 + # https://github.com/aio-libs-abandoned/aioredis-py/pull/1490 26 + (fetchpatch { 27 + name = "python-3.11-compatibility.patch"; 28 + url = "https://github.com/aio-libs-abandoned/aioredis-py/commit/1b951502dc8f149fa66beafeea40c782f1c5c1d3.patch"; 29 + hash = "sha256-EqkiYktxISg0Rv4ShXOksGvuUyljPxjJsfNOVaaax2o="; 30 + includes = [ "aioredis/exceptions.py" ]; 31 + }) 32 + ]; 33 + 34 propagatedBuildInputs = [ 35 async-timeout 36 typing-extensions ··· 41 42 meta = with lib; { 43 description = "Asyncio (PEP 3156) Redis client library"; 44 + homepage = "https://github.com/aio-libs-abandoned/aioredis-py"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ mmai ]; 47 };