Unverified Commit 44d73edf authored by seth's avatar seth
Browse files

python312Packages.ambee: drop

parent e385a853
Loading
Loading
Loading
Loading
+0 −56
Original line number Diff line number Diff line
{
  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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };