python311Packages.pyflunearyou: fix build

This commit is contained in:
superherointj
2023-02-11 08:09:41 -03:00
parent f82355f050
commit 21b6889242
@@ -9,6 +9,7 @@
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, msgpack
, ujson
}:
@@ -27,13 +28,14 @@ buildPythonPackage rec {
sha256 = "sha256-Q65OSE4qckpvaIvZULBR434i7hwuVM97eSq1Blb1oIU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'ujson = ">=1.35,<5.0"' 'ujson = "*"'
'';
pythonRelaxDeps = [
"aiocache"
"ujson"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [