Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / flowlogs-reader / default.nix
blob7769bdcb427b15f0a29232405710f37e8e4f1951
1 { lib
2 , boto3
3 , botocore
4 , buildPythonPackage
5 , fetchFromGitHub
6 , parquet
7 , pytestCheckHook
8 , python-dateutil
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "flowlogs-reader";
14   version = "5.0.1";
15   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchFromGitHub {
20     owner = "obsrvbl";
21     repo = pname;
22     # https://github.com/obsrvbl/flowlogs-reader/issues/57
23     rev = "refs/tags/v${version}";
24     hash = "sha256-9UwCRLRKuIFRTh3ntAzlXCyN175J1wobT3GSLAhl+08=";
25   };
27   propagatedBuildInputs = [
28     botocore
29     boto3
30     parquet
31     python-dateutil
32   ];
34   nativeCheckInputs = [
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [
39     "flowlogs_reader"
40   ];
42   meta = with lib; {
43     description = "Python library to make retrieving Amazon VPC Flow Logs from CloudWatch Logs a bit easier";
44     mainProgram = "flowlogs_reader";
45     homepage = "https://github.com/obsrvbl/flowlogs-reader";
46     license = licenses.asl20;
47     maintainers = with maintainers; [ cransom ];
48   };