Merge pull request #285082 from fabaff/aioelectricitymaps-bump

python311Packages.aioelectricitymaps: 0.1.6 -> 0.2.0
This commit is contained in:
Fabian Affolter 2024-01-31 07:48:05 +01:00 committed by GitHub
commit 5ad9903c16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,8 +2,9 @@
, aiohttp
, aresponses
, buildPythonPackage
, dataclasses-json
, fetchFromGitHub
, mashumaro
, orjson
, poetry-core
, pytest-asyncio
, pytestCheckHook
@ -13,25 +14,31 @@
buildPythonPackage rec {
pname = "aioelectricitymaps";
version = "0.1.6";
version = "0.2.0";
pyproject = true;
disabled = pythonOlder "3.10";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "jpbede";
repo = "aioelectricitymaps";
rev = "refs/tags/v${version}";
hash = "sha256-SyI+2hxKOiSdx5e+vkHLsIk5xj4gNvmfZTYZ10oJhfc=";
hash = "sha256-cwRmUHVIviQquZtcQRtCFxBZTt4QEyaCixbY1ExUL9A=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-warn "--cov" ""
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
dataclasses-json
mashumaro
orjson
];
nativeCheckInputs = [