evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / gmqtt / default.nix
blobe56b9f4cfed11cffc8327db84ca49b55061de479
2   lib,
3   buildPythonPackage,
4   fetchPypi,
6   # build-system
7   setuptools,
9   # tests
10   pytestCheckHook,
11   pytest-asyncio,
14 buildPythonPackage rec {
15   pname = "gmqtt";
16   version = "0.6.16";
17   pyproject = true;
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-3dH9wcauYE50N3z3DpnwZ+V5wDwccaas1JThmek7f6Q=";
22   };
24   build-system = [ setuptools ];
26   # Tests require local socket connection which is forbidden in the sandbox
27   doCheck = false;
29   nativeCheckInputs = [
30     pytestCheckHook
31     pytest-asyncio
32   ];
33   pythonImportsCheck = [ "gmqtt" ];
35   meta = {
36     description = "Python MQTT v5.0 async client";
37     homepage = "https://github.com/wialon/gmqtt";
38     license = lib.licenses.mit;
39     maintainers = with lib.maintainers; [ doronbehar ];
40   };