2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-15 21:47:17 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-03-18 20:26:33 +01:00
|
|
|
, isPy27
|
2018-10-15 21:47:17 +02:00
|
|
|
, botocore
|
|
|
|
, boto3
|
|
|
|
, docutils
|
|
|
|
, unittest2
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flowlogs_reader";
|
2020-10-25 03:51:24 +01:00
|
|
|
version = "2.3.0";
|
2020-03-18 20:26:33 +01:00
|
|
|
disabled = isPy27;
|
2018-10-15 21:47:17 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 03:51:24 +01:00
|
|
|
sha256 = "19118ff77925c66a6782152066d86bc8d5c6ed60189b642263fb0c6eb7cb22ef";
|
2018-10-15 21:47:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ botocore boto3 docutils ];
|
|
|
|
buildInputs = [ unittest2 mock ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-15 21:47:17 +02: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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|