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