diff --git a/pkgs/development/python-modules/aioinflux/default.nix b/pkgs/development/python-modules/aioinflux/default.nix new file mode 100644 index 000000000000..25aa7f587b25 --- /dev/null +++ b/pkgs/development/python-modules/aioinflux/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildPythonPackage +, fetchPypi +, aiohttp +, ciso8601 +, pandas +}: + +buildPythonPackage rec { + pname = "aioinflux"; + version = "0.9.0"; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c612cb9cde16..526cdfd92f94 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -254,6 +254,8 @@ in { aioimaplib = callPackage ../development/python-modules/aioimaplib { }; + aioinflux = callPackage ../development/python-modules/aioinflux { }; + aiojobs = callPackage ../development/python-modules/aiojobs { }; aiokafka = callPackage ../development/python-modules/aiokafka { };