Skip to content

Commit c6066d5

Browse files
authored
python3Packages.weatherflow4py: 1.4.1 -> 1.5.2 (NixOS#505792)
2 parents c850c67 + 5111a97 commit c6066d5

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

  • pkgs/development/python-modules/weatherflow4py

pkgs/development/python-modules/weatherflow4py/default.nix

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,26 @@
55
buildPythonPackage,
66
dataclasses-json,
77
fetchFromGitHub,
8+
hatchling,
89
marshmallow,
9-
poetry-core,
1010
pytest-asyncio,
1111
pytestCheckHook,
12-
pythonOlder,
1312
websockets,
1413
}:
1514

16-
buildPythonPackage rec {
15+
buildPythonPackage (finalAttrs: {
1716
pname = "weatherflow4py";
18-
version = "1.4.1";
17+
version = "1.5.2";
1918
pyproject = true;
2019

21-
disabled = pythonOlder "3.12";
22-
2320
src = fetchFromGitHub {
2421
owner = "jeeftor";
2522
repo = "weatherflow4py";
26-
tag = "v${version}";
27-
hash = "sha256-nHpLdzO49HhX5+gtYrgche4whs7Onzp4HeRNFwLHcVI=";
23+
tag = "v${finalAttrs.version}";
24+
hash = "sha256-cfQWdQhjW6KjBLQWO9BSAVZ2btRCMjx1CpUifoOwPsU=";
2825
};
2926

30-
build-system = [ poetry-core ];
27+
build-system = [ hatchling ];
3128

3229
dependencies = [
3330
aiohttp
@@ -54,8 +51,8 @@ buildPythonPackage rec {
5451
meta = {
5552
description = "Module to interact with the WeatherFlow REST API";
5653
homepage = "https://github.com/jeeftor/weatherflow4py";
57-
changelog = "https://github.com/jeeftor/weatherflow4py/releases/tag/${src.tag}";
54+
changelog = "https://github.com/jeeftor/weatherflow4py/releases/tag/${finalAttrs.src.tag}";
5855
license = lib.licenses.mit;
5956
maintainers = with lib.maintainers; [ fab ];
6057
};
61-
}
58+
})

0 commit comments

Comments
 (0)