about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aioinflux/default.nix
blob: ef5f9bcf6340d36bac4d9f6113c549de6fd55fc6 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  aiohttp,
  ciso8601,
  pandas,
}:

buildPythonPackage rec {
  pname = "aioinflux";
  version = "0.9.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1jy5mcg9wdz546s9wdwsgkxhm2ac4dmphd9vz243db39j1m0a3bj";
  };

  propagatedBuildInputs = [
    aiohttp
    ciso8601
    pandas
  ];

  # Tests require InfluxDB server
  doCheck = false;

  pythonImportsCheck = [ "aioinflux" ];

  meta = with lib; {
    description = "Asynchronous Python client for InfluxDB";
    homepage = "https://github.com/gusutabopb/aioinflux";
    license = licenses.mit;
    maintainers = with maintainers; [
      liamdiprose
      lopsided98
    ];
  };
}