depot/third_party/nixpkgs/pkgs/development/python-modules/aioinflux/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
680 B
Nix

{ 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 ];
};
}