diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-02-17 16:47:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-17 16:47:27 +0100 |
commit | 2e3ed66fca5e3a229342ac1991466159e5e58545 (patch) | |
tree | 13bbf8f824909c1e447fbc6240056d1e9fe37d22 /pkgs | |
parent | c9a8952c569ae879be1117ed255219a0ec93829b (diff) | |
parent | 024fba76970b5ed68ecd689756fa6f3c5aaca6bb (diff) |
Merge pull request #289544 from fabaff/autarco-bump
python312Packages.autarco: 0.2.0 -> 0.3.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/autarco/default.nix | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/autarco/default.nix b/pkgs/development/python-modules/autarco/default.nix index b5a8715f6ced2..71cf0df61d775 100644 --- a/pkgs/development/python-modules/autarco/default.nix +++ b/pkgs/development/python-modules/autarco/default.nix @@ -3,35 +3,33 @@ , aresponses , buildPythonPackage , fetchFromGitHub -, fetchpatch +, mashumaro +, orjson , poetry-core , pytest-asyncio , pytestCheckHook , pythonOlder +, pythonRelaxDepsHook +, syrupy , yarl }: buildPythonPackage rec { pname = "autarco"; - version = "0.2.0"; - format = "pyproject"; + version = "0.3.0"; + pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "klaasnicolaas"; repo = "python-autarco"; - rev = "v${version}"; - hash = "sha256-3f6N4b6WZPAUUQTuGeb20q0f7ZqDR+O24QRze5RpRlw="; + rev = "refs/tags/v${version}"; + hash = "sha256-IBf6Dw2Yf7m+5bQ72K0kPxGdtpl8JowQ9IO3gWS3Vso="; }; - patches = [ - # https://github.com/klaasnicolaas/python-autarco/pull/265 - (fetchpatch { - name = "remove-setuptools-dependency.patch"; - url = "https://github.com/klaasnicolaas/python-autarco/commit/bf40e8a4f64cd9c9cf72930260895537ea5b2adc.patch"; - hash = "sha256-Fgijy7sd67LUIqh3qjQjyothnjdW7Zcil/bQSuVsBR8="; - }) + pythonRelaxDeps = [ + "orjson" ]; postPatch = '' @@ -43,10 +41,13 @@ buildPythonPackage rec { nativeBuildInputs = [ poetry-core + pythonRelaxDepsHook ]; propagatedBuildInputs = [ aiohttp + mashumaro + orjson yarl ]; @@ -56,6 +57,7 @@ buildPythonPackage rec { aresponses pytest-asyncio pytestCheckHook + syrupy ]; pythonImportsCheck = [ @@ -65,6 +67,7 @@ buildPythonPackage rec { meta = with lib; { description = "Module for the Autarco Inverter"; homepage = "https://github.com/klaasnicolaas/python-autarco"; + changelog = "https://github.com/klaasnicolaas/python-autarco/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; |