python312Packages.ambee: drop (#346566)

This commit is contained in:
OTABI Tomoya 2024-10-06 14:46:31 +09:00 committed by GitHub
commit ae58135210
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 58 deletions

View File

@ -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 ];
};
}

View File

@ -48,6 +48,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

View File

@ -562,8 +562,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 { };