blob: 581238c90ac67bc76ff017fd7fcf7a92e4e43bbd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, paho-mqtt
, buildPythonPackage
, fetchPypi
, aiohttp
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyeconet";
version = "0.1.15";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zxD2sjKWB/bmxwpVFgkKTngMhr4bVuW+qkSt+pbxqPY=";
};
propagatedBuildInputs = [
paho-mqtt
aiohttp
];
# Tests require credentials
doCheck = false;
pythonImportsCheck = [
"pyeconet"
];
meta = with lib; {
description = "Python interface to the EcoNet API";
homepage = "https://github.com/w1ll1am23/pyeconet";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|