From 1e6abb4359dea30b00031bdee347ed08f37b464b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 1 May 2025 02:25:49 -0700 Subject: [PATCH] python313Packages.wallbox: 0.8.0 -> 0.9.0 Diff: https://github.com/cliviu74/wallbox/compare/refs/tags/0.8.0...refs/tags/0.9.0 Changelog: https://github.com/cliviu74/wallbox/releases/tag/0.9.0 --- .../python-modules/wallbox/default.nix | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/wallbox/default.nix b/pkgs/development/python-modules/wallbox/default.nix index 0600450af7d3..efe5f948b83a 100644 --- a/pkgs/development/python-modules/wallbox/default.nix +++ b/pkgs/development/python-modules/wallbox/default.nix @@ -2,22 +2,21 @@ lib, aenum, buildPythonPackage, - fetchPypi, - pythonOlder, + fetchFromGitHub, requests, setuptools, }: buildPythonPackage rec { pname = "wallbox"; - version = "0.8.0"; + version = "0.9.0"; pyproject = true; - disabled = pythonOlder "3.7"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-S1JP7/D3U853fQU3a2pyL+dt/hVLDP3TB82tcGlcXVQ="; + src = fetchFromGitHub { + owner = "cliviu74"; + repo = "wallbox"; + tag = version; + hash = "sha256-1/hm0x71YTW3cA11Nw/e4xUol5T9lElgm1bKi1wRi3o="; }; build-system = [ @@ -34,11 +33,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "wallbox" ]; - meta = with lib; { + meta = { description = "Module for interacting with Wallbox EV charger API"; homepage = "https://github.com/cliviu74/wallbox"; - changelog = "https://github.com/cliviu74/wallbox/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ dotlambda ]; + changelog = "https://github.com/cliviu74/wallbox/releases/tag/${src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ dotlambda ]; }; }