From e1cb832da812c807bf60ece9a1ac5b2df6f2b130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 20 Oct 2025 10:13:20 -0700 Subject: [PATCH] python3Packages.python-bring-api: drop --- .../python-bring-api/default.nix | 40 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 pkgs/development/python-modules/python-bring-api/default.nix diff --git a/pkgs/development/python-modules/python-bring-api/default.nix b/pkgs/development/python-modules/python-bring-api/default.nix deleted file mode 100644 index 5c42edbea208..000000000000 --- a/pkgs/development/python-modules/python-bring-api/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - lib, - aiohttp, - buildPythonPackage, - fetchFromGitHub, - pythonOlder, - setuptools, -}: - -buildPythonPackage { - pname = "python-bring-api"; - version = "3.0.0-unstable-2024-02-03"; - pyproject = true; - - disabled = pythonOlder "3.8"; - - src = fetchFromGitHub { - owner = "eliasball"; - repo = "python-bring-api"; - # https://github.com/eliasball/python-bring-api/issues/16 - rev = "8043562b22be1f6421a8771774868b105b6ca375"; - hash = "sha256-VCGCm9N6pMhEYT9WuWh7qKacZEf6bcIpEsILfCC6his="; - }; - - nativeBuildInputs = [ setuptools ]; - - propagatedBuildInputs = [ aiohttp ]; - - # Module has no tests - doCheck = false; - - pythonImportsCheck = [ "python_bring_api" ]; - - meta = with lib; { - description = "Module to access the Bring! shopping lists API"; - homepage = "https://github.com/eliasball/python-bring-api"; - license = licenses.mit; - maintainers = with maintainers; [ fab ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index eeeface4a7bc..4b1c3b427a92 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -614,6 +614,7 @@ mapAliases { PyMVGLive = pymvglive; # added 2023-02-19 pymyq = python-myq; # added 2023-10-20 pynose = throw "pynose was removed, because it violates the license of nose, by redistributing modified LGPL code under MIT."; + python-bring-api = throw "python-bring-api was removed because Home Assistant switched to bring-api"; # added 2025-10-03 python-ethtool = ethtool; # added 2024-07-23 python-myq = throw "python-myq has been removed, as the service provider has decided to block its API requests"; # added 2023-12-07 python-picnic-api = throw "python-picnic-api was removed because Home Assistant switched to python-picnic-api2"; # added 2025-03-05 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fb31006dc940..51d6a680531e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14768,8 +14768,6 @@ self: super: with self; { python-box = callPackage ../development/python-modules/python-box { }; - python-bring-api = callPackage ../development/python-modules/python-bring-api { }; - python-bsblan = callPackage ../development/python-modules/python-bsblan { }; python-bugzilla = callPackage ../development/python-modules/python-bugzilla { };