python3Packages.mocket: 3.13.0 -> 3.13.2
https://github.com/mindflayer/python-mocket/releases/tag/3.13.2
This commit is contained in:
@@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user