Something went wrong. Try again.
lol
Something went wrong. Try again.
881 B · 45 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, anyio, buildPythonPackage, fetchFromGitHub, hatchling, paho-mqtt, pytestCheckHook,}:
buildPythonPackage rec { pname = "aiomqtt"; version = "2.5.1"; pyproject = true;
src = fetchFromGitHub { owner = "sbtinstruments"; repo = "aiomqtt"; tag = "v${version}"; hash = "sha256-f9m+mdlSADOixsKymxsKiVxgWF7JBc3kjVU+rOkC+yM="; };
build-system = [ hatchling ];
dependencies = [ paho-mqtt ];
nativeCheckInputs = [ anyio pytestCheckHook ];
pythonImportsCheck = [ "aiomqtt" ];
disabledTestMarks = [ "network" ];
meta = { description = "Idiomatic asyncio MQTT client, wrapped around paho-mqtt"; homepage = "https://github.com/sbtinstruments/aiomqtt"; changelog = "https://github.com/sbtinstruments/aiomqtt/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = [ ]; };}