mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
pythonPackages.flowlogs_reader: refactor move to python-modules
This commit is contained in:
parent
f8465776dd
commit
49a61ab978
30
pkgs/development/python-modules/flowlogs_reader/default.nix
Normal file
30
pkgs/development/python-modules/flowlogs_reader/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, botocore
|
||||
, boto3
|
||||
, docutils
|
||||
, unittest2
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flowlogs_reader";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0158aki6m3pkf98hpd60088qyhrfxkmybdf8hv3qfl8nb61vaiwf";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
}
|
@ -1768,28 +1768,7 @@ in {
|
||||
|
||||
flit = callPackage ../development/python-modules/flit { };
|
||||
|
||||
flowlogs_reader = buildPythonPackage rec {
|
||||
name = "flowlogs_reader-1.0.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/f/flowlogs_reader/${name}.tar.gz";
|
||||
sha256 = "0158aki6m3pkf98hpd60088qyhrfxkmybdf8hv3qfl8nb61vaiwf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
botocore boto3 docutils
|
||||
];
|
||||
buildInputs = with self; [
|
||||
unittest2 mock
|
||||
];
|
||||
|
||||
meta = with pkgs.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;
|
||||
};
|
||||
};
|
||||
flowlogs_reader = callPackage ../development/python-modules/flowlogs_reader { };
|
||||
|
||||
fluent-logger = callPackage ../development/python-modules/fluent-logger {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user