Unverified Commit 4c19f6c7 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.bring-api: 1.1.0 -> 1.1.1, python3Packages.python-bring-api: drop (#453910)

parents bfb4dcf9 e1cb832d
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@
  pytest-asyncio,
  pytestCheckHook,
  python-dotenv,
  pythonOlder,
  setuptools,
  syrupy,
  yarl,
@@ -17,16 +16,14 @@

buildPythonPackage rec {
  pname = "bring-api";
  version = "1.1.0";
  version = "1.1.1";
  pyproject = true;

  disabled = pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "miaucl";
    repo = "bring-api";
    tag = version;
    hash = "sha256-OxY9G7zy5VSpTOARoManJNvMg6ghIK0KJunanSgXKm0=";
    hash = "sha256-BslU1ekbQIZh1f1zRYXbZdbOepB2+NWIuWZI4L/oxSg=";
  };

  build-system = [ setuptools ];
+0 −40
Original line number Diff line number Diff line
{
  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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -616,6 +616,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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };