Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyeconet / default.nix
blobbf878fd5acbc24ee6ed58496c59343e4ea11ad18
1 { lib
2 , paho-mqtt
3 , buildPythonPackage
4 , fetchPypi
5 , aiohttp
6 }:
8 buildPythonPackage rec {
9   pname = "pyeconet";
10   version = "0.1.14";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "sha256-x0mkC2k65VrDhv7UavgDUuRWIQoAJMDtA7jNXNUJuVg=";
15   };
17   propagatedBuildInputs = [
18     paho-mqtt
19     aiohttp
20   ];
22   # Tests require credentials
23   doCheck = false;
24   pythonImportsCheck = [ "pyeconet" ];
26   meta = with lib; {
27     description = "Python interface to the EcoNet API";
28     homepage = "https://github.com/w1ll1am23/pyeconet";
29     license = with licenses; [ mit ];
30     maintainers = with maintainers; [ fab ];
31   };