mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python312Packages.ambee: drop (#346566)
This commit is contained in:
commit
ae58135210
@ -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 ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user