1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 docopt,
6 fetchPypi,
7 pythonOlder,
8 pyyaml,
9}:
10
11buildPythonPackage rec {
12 pname = "eliqonline";
13 version = "1.2.2";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "hOUN4cA4pKVioIrfJM02GOnZdDRc7xbNtvHfoD3//bM=";
21 };
22
23 propagatedBuildInputs = [
24 aiohttp
25 docopt
26 pyyaml
27 ];
28
29 # Project has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "eliqonline" ];
33
34 meta = with lib; {
35 description = "Python client to the Eliq Online API";
36 mainProgram = "eliqonline";
37 homepage = "https://github.com/molobrakos/eliqonline";
38 license = licenses.lgpl3Only;
39 maintainers = with maintainers; [ fab ];
40 };
41}