mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-15 00:24:47 +00:00
python312Packages.aioelectricitymaps: refactor
This commit is contained in:
parent
4dde341229
commit
28a76a17bf
@ -8,6 +8,7 @@
|
|||||||
orjson,
|
orjson,
|
||||||
poetry-core,
|
poetry-core,
|
||||||
pytest-asyncio,
|
pytest-asyncio,
|
||||||
|
pytest-cov-stub,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
syrupy,
|
syrupy,
|
||||||
@ -29,12 +30,12 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-warn "--cov" ""
|
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
build-system = [ poetry-core ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
aiohttp
|
aiohttp
|
||||||
mashumaro
|
mashumaro
|
||||||
orjson
|
orjson
|
||||||
@ -43,6 +44,7 @@ buildPythonPackage rec {
|
|||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
aioresponses
|
aioresponses
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
|
pytest-cov-stub
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
syrupy
|
syrupy
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user