Files
nixpkgs/pkgs/development/python-modules/aioinflux/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

45 lines
831 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
aiohttp,
ciso8601,
setuptools,
pandas,
}:
buildPythonPackage rec {
pname = "aioinflux";
version = "0.9.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-cg0FapBprDaI+Ds1eGsjTIkK+3yaN560IeU3nh6rxcs=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
ciso8601
pandas
];
# Tests require InfluxDB server
doCheck = false;
pythonImportsCheck = [ "aioinflux" ];
meta = {
description = "Asynchronous Python client for InfluxDB";
homepage = "https://github.com/gusutabopb/aioinflux";
changelog = "https://github.com/gusutabopb/aioinflux/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
liamdiprose
lopsided98
];
};
}