From 621bc3eda6d795fbb2115695170b5655f9a57346 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 19 Jan 2025 21:16:35 +0100 Subject: [PATCH] python3Packages.mocket: 3.13.0 -> 3.13.2 https://github.com/mindflayer/python-mocket/releases/tag/3.13.2 --- .../python-modules/mocket/default.nix | 46 +++++++++---------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/pkgs/development/python-modules/mocket/default.nix b/pkgs/development/python-modules/mocket/default.nix index b80549db4c13..04d4633cbb50 100644 --- a/pkgs/development/python-modules/mocket/default.nix +++ b/pkgs/development/python-modules/mocket/default.nix @@ -10,8 +10,8 @@ # dependencies decorator, - httptools, - python-magic, + h11, + puremagic, urllib3, # optional-dependencies @@ -37,20 +37,20 @@ buildPythonPackage rec { pname = "mocket"; - version = "3.13.0"; + version = "3.13.2"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-GFzIDSE+09L4RC5w4h3fqgq9lkyOVjq5JN++ZNbHWc8="; + hash = "sha256-Gms2WOZowrwf6EQt94QLW3cxhUT1wVeplSd2sX6/8qI="; }; - nativeBuildInputs = [ hatchling ]; + build-system = [ hatchling ]; - propagatedBuildInputs = [ + dependencies = [ decorator - httptools - python-magic + h11 + puremagic urllib3 ]; @@ -59,22 +59,20 @@ buildPythonPackage rec { speedups = [ xxhash ]; }; - nativeCheckInputs = - [ - asgiref - fastapi - gevent - httpx - psutil - pytest-asyncio - pytest-cov-stub - pytestCheckHook - redis - requests - sure - ] - ++ lib.optionals (pythonOlder "3.12") [ aiohttp ] - ++ lib.flatten (builtins.attrValues optional-dependencies); + nativeCheckInputs = [ + aiohttp + asgiref + fastapi + gevent + httpx + psutil + pytest-asyncio + pytest-cov-stub + pytestCheckHook + redis + requests + sure + ] ++ lib.flatten (lib.attrValues optional-dependencies); preCheck = lib.optionalString stdenv.hostPlatform.isLinux '' ${redis-server}/bin/redis-server &