python312Packages.ambee: drop

This commit is contained in:
seth 2024-10-04 21:33:21 -04:00
parent e385a8531a
commit 44d73edf1a
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86
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

@ -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

View File

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