blob: f7bf5064ad11fcb92114992557e08a00b48b5aa2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
boto3,
botocore,
buildPythonPackage,
fetchFromGitHub,
parquet,
pytestCheckHook,
python-dateutil,
}:
buildPythonPackage rec {
pname = "flowlogs-reader";
version = "5.0.1";
format = "setuptools";
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 ];
};
}
|