2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-15 20:47:17 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-03-18 19:26:33 +00:00
|
|
|
, isPy27
|
2018-10-15 20:47:17 +01:00
|
|
|
, botocore
|
|
|
|
, boto3
|
|
|
|
, docutils
|
|
|
|
, unittest2
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flowlogs_reader";
|
2021-03-10 16:06:02 +00:00
|
|
|
version = "2.4.0";
|
2020-03-18 19:26:33 +00:00
|
|
|
disabled = isPy27;
|
2018-10-15 20:47:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-10 16:06:02 +00:00
|
|
|
sha256 = "e47637b40a068a0c814ba2087fb691b43aa12e6174ab06b6cdb7109bb94624e4";
|
2018-10-15 20:47:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ botocore boto3 docutils ];
|
|
|
|
buildInputs = [ unittest2 mock ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-15 20:47:17 +01:00
|
|
|
description = "Python library to make retrieving Amazon VPC Flow Logs from CloudWatch Logs a bit easier";
|
|
|
|
homepage = "https://github.com/obsrvbl/flowlogs-reader";
|
|
|
|
maintainers = with maintainers; [ cransom ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|