2018-10-15 20:47:17 +01:00
|
|
|
{ stdenv
|
|
|
|
, 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";
|
2019-10-24 07:47:30 +01:00
|
|
|
version = "2.0.0";
|
2020-03-18 19:26:33 +00:00
|
|
|
disabled = isPy27;
|
2018-10-15 20:47:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:30 +01:00
|
|
|
sha256 = "256c67afabc1783e8a378c7589877f76660c6a645aa6dfe1759e26f4a93a22d0";
|
2018-10-15 20:47:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ botocore boto3 docutils ];
|
|
|
|
buildInputs = [ unittest2 mock ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|