python3Packages.amqtt: drop

Its only reverse dependency was the now dropped volvooncall.
This commit is contained in:
Robert Schütz
2026-07-20 16:57:01 -07:00
parent 087a32bcd9
commit fd874ff11f
3 changed files with 1 additions and 90 deletions
@@ -1,88 +0,0 @@
{
lib,
buildPythonPackage,
docopt,
fetchFromGitHub,
hypothesis,
passlib,
poetry-core,
pytest-logdog,
pytest-asyncio,
pytestCheckHook,
pythonAtLeast,
pyyaml,
setuptools,
transitions,
websockets,
}:
buildPythonPackage {
pname = "amqtt";
version = "unstable-2022-05-29";
pyproject = true;
src = fetchFromGitHub {
owner = "Yakifo";
repo = "amqtt";
rev = "09ac98d39a711dcff0d8f22686916e1c2495144b";
hash = "sha256-8T1XhBSOiArlUQbQ41LsUogDgOurLhf+M8mjIrrAC4s=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'transitions = "^0.8.0"' 'transitions = "*"' \
--replace 'websockets = ">=9.0,<11.0"' 'websockets = "*"'
'';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
docopt
passlib
pyyaml
setuptools
transitions
websockets
];
nativeCheckInputs = [
hypothesis
pytest-logdog
pytest-asyncio
pytestCheckHook
];
pytestFlags = [ "--asyncio-mode=auto" ];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# stuck in epoll
"test_publish_qos0"
"test_publish_qos1"
"test_publish_qos1_retry"
"test_publish_qos2"
"test_publish_qos2_retry"
"test_receive_qos0"
"test_receive_qos1"
"test_receive_qos2"
"test_start_stop"
];
disabledTestPaths = [
# Test are not ported from hbmqtt yet
"tests/test_client.py"
];
preCheck = ''
# Some tests need amqtt
export PATH=$out/bin:$PATH
'';
pythonImportsCheck = [ "amqtt" ];
meta = {
description = "Python MQTT client and broker implementation";
homepage = "https://amqtt.readthedocs.io/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+1
View File
@@ -86,6 +86,7 @@ mapAliases {
amazon-kclpy = throw "amazon-kclpy has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-03
amazon_kclpy = throw "'amazon_kclpy' has been renamed to/replaced by 'amazon-kclpy'"; # Converted to throw 2025-10-29
amqplib = throw "amqplib has been removed as it was unmaintained upstream"; # Added 2025-11-22
amqtt = throw "'amqtt' has been removed because it was broken and no longer used"; # added 2026-07-20
ancp-bids = ancpbids; # added 2026-06-18
ansible-vault-rw = ansible-vault; # Added 2026-07-10
ansiconv = throw "ansiconv has been removed because it was archived upstream"; # Added 2026-01-14
-2
View File
@@ -1067,8 +1067,6 @@ self: super: with self; {
amqp = callPackage ../development/python-modules/amqp { };
amqtt = callPackage ../development/python-modules/amqtt { };
amshan = callPackage ../development/python-modules/amshan { };
anchor-kr = callPackage ../development/python-modules/anchor-kr { };