anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / flowlogs-reader / default.nix
blobee7d9f4cc21522fbf04e4bd060af891f43ac0296
2   lib,
3   boto3,
4   botocore,
5   buildPythonPackage,
6   fetchFromGitHub,
7   parquet,
8   pytestCheckHook,
9   python-dateutil,
10   pythonOlder,
13 buildPythonPackage rec {
14   pname = "flowlogs-reader";
15   version = "5.0.1";
16   format = "setuptools";
18   disabled = pythonOlder "3.6";
20   src = fetchFromGitHub {
21     owner = "obsrvbl";
22     repo = pname;
23     # https://github.com/obsrvbl/flowlogs-reader/issues/57
24     rev = "refs/tags/v${version}";
25     hash = "sha256-9UwCRLRKuIFRTh3ntAzlXCyN175J1wobT3GSLAhl+08=";
26   };
28   propagatedBuildInputs = [
29     botocore
30     boto3
31     parquet
32     python-dateutil
33   ];
35   nativeCheckInputs = [ pytestCheckHook ];
37   pythonImportsCheck = [ "flowlogs_reader" ];
39   meta = with lib; {
40     description = "Python library to make retrieving Amazon VPC Flow Logs from CloudWatch Logs a bit easier";
41     mainProgram = "flowlogs_reader";
42     homepage = "https://github.com/obsrvbl/flowlogs-reader";
43     license = licenses.asl20;
44     maintainers = with maintainers; [ cransom ];
45   };