Merge pull request #215739 from superherointj/pkg-python311Packages.aiocache-0.12.0

python311Packages.aiocache: 0.11.1 -> 0.12.0

authored by

Nick Cao and committed by
GitHub
9bc97c17 5941c15e

+27 -13
+21 -9
pkgs/development/python-modules/aiocache/default.nix
··· 3 , buildPythonPackage 4 , fetchFromGitHub 5 , msgpack 6 }: 7 8 buildPythonPackage rec { 9 pname = "aiocache"; 10 - version = "0.11.1"; 11 12 src = fetchFromGitHub { 13 owner = "aio-libs"; 14 repo = pname; 15 - rev = version; 16 - sha256 = "1czs8pvhzi92qy2dch2995rb62mxpbhd80dh2ir7zpa9qcm6wxvx"; 17 }; 18 19 - propagatedBuildInputs = [ 20 - aioredis 21 - msgpack 22 - ]; 23 24 # aiomcache would be required but last release was in 2017 25 doCheck = false; 26 - pythonImportsCheck = [ "aiocache" ]; 27 28 meta = with lib; { 29 description = "Python API Rate Limit Decorator"; 30 - homepage = "https://github.com/tomasbasham/ratelimit"; 31 license = with licenses; [ bsd3 ]; 32 maintainers = with maintainers; [ fab ]; 33 };
··· 3 , buildPythonPackage 4 , fetchFromGitHub 5 , msgpack 6 + , pythonOlder 7 }: 8 9 buildPythonPackage rec { 10 pname = "aiocache"; 11 + version = "0.12.0"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "aio-libs"; 18 repo = pname; 19 + rev = "refs/tags/v${version}"; 20 + hash = "sha256-jNfU5jT2xLgwVeVp8jXrQ6QQuUDwMOxf+hZ7VFsMFpM="; 21 }; 22 23 + passthru.optional-dependencies = { 24 + redis = [ 25 + aioredis 26 + ]; 27 + msgpack = [ 28 + msgpack 29 + ]; 30 + }; 31 32 # aiomcache would be required but last release was in 2017 33 doCheck = false; 34 + 35 + pythonImportsCheck = [ 36 + "aiocache" 37 + ]; 38 39 meta = with lib; { 40 description = "Python API Rate Limit Decorator"; 41 + homepage = "https://github.com/aio-libs/aiocache"; 42 + changelog = "https://github.com/aio-libs/aiocache/releases/tag/v${version}"; 43 license = with licenses; [ bsd3 ]; 44 maintainers = with maintainers; [ fab ]; 45 };
+6 -4
pkgs/development/python-modules/pyflunearyou/default.nix
··· 9 , pytest-aiohttp 10 , pytestCheckHook 11 , pythonOlder 12 , msgpack 13 , ujson 14 }: ··· 27 sha256 = "sha256-Q65OSE4qckpvaIvZULBR434i7hwuVM97eSq1Blb1oIU="; 28 }; 29 30 - postPatch = '' 31 - substituteInPlace pyproject.toml \ 32 - --replace 'ujson = ">=1.35,<5.0"' 'ujson = "*"' 33 - ''; 34 35 nativeBuildInputs = [ 36 poetry-core 37 ]; 38 39 propagatedBuildInputs = [
··· 9 , pytest-aiohttp 10 , pytestCheckHook 11 , pythonOlder 12 + , pythonRelaxDepsHook 13 , msgpack 14 , ujson 15 }: ··· 28 sha256 = "sha256-Q65OSE4qckpvaIvZULBR434i7hwuVM97eSq1Blb1oIU="; 29 }; 30 31 + pythonRelaxDeps = [ 32 + "aiocache" 33 + "ujson" 34 + ]; 35 36 nativeBuildInputs = [ 37 poetry-core 38 + pythonRelaxDepsHook 39 ]; 40 41 propagatedBuildInputs = [