Files
nixpkgs/pkgs/development/python-modules/flowlogs-reader/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

47 lines
1001 B
Nix

{
lib,
boto3,
botocore,
buildPythonPackage,
fetchFromGitHub,
parquet,
pytestCheckHook,
python-dateutil,
pythonOlder,
}:
buildPythonPackage rec {
pname = "flowlogs-reader";
version = "5.0.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "obsrvbl";
repo = "flowlogs-reader";
# https://github.com/obsrvbl/flowlogs-reader/issues/57
tag = "v${version}";
hash = "sha256-9UwCRLRKuIFRTh3ntAzlXCyN175J1wobT3GSLAhl+08=";
};
propagatedBuildInputs = [
botocore
boto3
parquet
python-dateutil
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "flowlogs_reader" ];
meta = {
description = "Python library to make retrieving Amazon VPC Flow Logs from CloudWatch Logs a bit easier";
mainProgram = "flowlogs_reader";
homepage = "https://github.com/obsrvbl/flowlogs-reader";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ cransom ];
};
}