2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
aiohttp,
|
|
|
|
ciso8601,
|
|
|
|
pandas,
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioinflux";
|
|
|
|
version = "0.9.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1jy5mcg9wdz546s9wdwsgkxhm2ac4dmphd9vz243db39j1m0a3bj";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
ciso8601
|
|
|
|
pandas
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
# 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;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
liamdiprose
|
|
|
|
lopsided98
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|