about summary refs log tree commit diff
path: root/pkgs/development/python-modules/eliqonline/default.nix
blob: 2b9b0e53c0bf5b79bfffd5ef2a26a44ab4fbbc7a (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
40
41
{
  lib,
  aiohttp,
  buildPythonPackage,
  docopt,
  fetchPypi,
  pythonOlder,
  pyyaml,
}:

buildPythonPackage rec {
  pname = "eliqonline";
  version = "1.2.2";
  format = "setuptools";

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    sha256 = "hOUN4cA4pKVioIrfJM02GOnZdDRc7xbNtvHfoD3//bM=";
  };

  propagatedBuildInputs = [
    aiohttp
    docopt
    pyyaml
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "eliqonline" ];

  meta = with lib; {
    description = "Python client to the Eliq Online API";
    mainProgram = "eliqonline";
    homepage = "https://github.com/molobrakos/eliqonline";
    license = licenses.lgpl3Only;
    maintainers = with maintainers; [ fab ];
  };
}