2018-10-15 20:47:17 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, botocore
|
|
|
|
, boto3
|
|
|
|
, docutils
|
|
|
|
, unittest2
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flowlogs_reader";
|
2018-11-04 10:34:59 +00:00
|
|
|
version = "1.1.1";
|
2018-10-15 20:47:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:34:59 +00:00
|
|
|
sha256 = "cd6344fdad097c38756772624922ee37452ef1e131213c7d0b5702bcf52a5b02";
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|