From 44d73edf1a63ab838ca4e1109417a7f6e02434ea Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 4 Oct 2024 21:33:21 -0400 Subject: [PATCH] python312Packages.ambee: drop --- .../python-modules/ambee/default.nix | 56 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 58 deletions(-) delete mode 100644 pkgs/development/python-modules/ambee/default.nix diff --git a/pkgs/development/python-modules/ambee/default.nix b/pkgs/development/python-modules/ambee/default.nix deleted file mode 100644 index 91cf9f27b2e1..000000000000 --- a/pkgs/development/python-modules/ambee/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - lib, - buildPythonPackage, - pythonOlder, - fetchFromGitHub, - aiohttp, - poetry-core, - yarl, - aresponses, - pytest-asyncio, - pytest-cov-stub, - pytestCheckHook, -}: - -buildPythonPackage rec { - pname = "ambee"; - version = "0.4.0"; - disabled = pythonOlder "3.8"; - pyproject = true; - - src = fetchFromGitHub { - owner = "frenck"; - repo = "python-ambee"; - rev = "v${version}"; - hash = "sha256-2wX2CLr6kdVw2AGPW6DmYI2OBfQFI/iWVorok2d3wx4="; - }; - - build-system = [ poetry-core ]; - - dependencies = [ - aiohttp - yarl - ]; - - nativeCheckInputs = [ - aresponses - pytest-asyncio - pytest-cov-stub - pytestCheckHook - ]; - - postPatch = '' - # Upstream doesn't set a version for the pyproject.toml - substituteInPlace pyproject.toml \ - --replace-fail "0.0.0" "${version}" - ''; - - pythonImportsCheck = [ "ambee" ]; - - meta = with lib; { - description = "Python client for Ambee API"; - homepage = "https://github.com/frenck/python-ambee"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ fab ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 9ee37c81127a..b5c0bceb7fe1 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -46,6 +46,7 @@ mapAliases ({ aioquic-mitmproxy = throw "aioquic-mitmproxy has been removed because mitmproxy no longer uses it"; # Added 2024-01-16 amazon_kclpy = amazon-kclpy; # added 2023-08-08 ambiclimate = throw "ambiclimate has been removed, because the service has been terminated after 2024-03-31."; # Added 2024-06-07 + ambee = throw "ambee has been removed because the upstream repository was archived in 2022"; # Added 2024-10-04 ansible-base = throw "ansible-base has been removed, because it is end of life"; # added 2022-03-30 ansible-doctor = throw "ansible-doctor has been promoted to a top-level attribute name: `pkgs.ansible-doctor`"; # Added 2023-05-16 ansible-later = throw "ansible-later has been promoted to a top-level attribute name: `pkgs.ansible-later`"; # Added 2023-05-16 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 78749813f9fe..3fecd3299f02 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -566,8 +566,6 @@ self: super: with self; { amazon-kclpy = callPackage ../development/python-modules/amazon-kclpy { }; - ambee = callPackage ../development/python-modules/ambee { }; - amberelectric = callPackage ../development/python-modules/amberelectric { }; amcrest = callPackage ../development/python-modules/amcrest { };