9 buildPythonPackage rec {
10 pname = "asyncio-mqtt";
12 format = "setuptools";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
17 owner = "sbtinstruments";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-On4N5KPnbwYrJguWwBdrnaNq58ZeGIPYSFzIRBfojpQ=";
23 propagatedBuildInputs = [
25 ] ++ lib.optionals (pythonOlder "3.10") [
29 # Module will have tests starting with > 0.13.0
32 pythonImportsCheck = [
37 description = "Idomatic asyncio wrapper around paho-mqtt";
38 homepage = "https://github.com/sbtinstruments/asyncio-mqtt";
39 license = licenses.bsd3;
40 changelog = "https://github.com/sbtinstruments/asyncio-mqtt/blob/master/CHANGELOG.md";
41 maintainers = with maintainers; [ hexa ];