mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 22:26:35 +01:00
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
43 lines
953 B
Nix
43 lines
953 B
Nix
{
|
|
lib,
|
|
boto3,
|
|
botocore,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
parquet,
|
|
pytestCheckHook,
|
|
python-dateutil,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flowlogs-reader";
|
|
version = "5.0.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "obsrvbl";
|
|
repo = "flowlogs-reader";
|
|
# https://github.com/obsrvbl/flowlogs-reader/issues/57
|
|
tag = "v${version}";
|
|
hash = "sha256-9UwCRLRKuIFRTh3ntAzlXCyN175J1wobT3GSLAhl+08=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
botocore
|
|
boto3
|
|
parquet
|
|
python-dateutil
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "flowlogs_reader" ];
|
|
|
|
meta = {
|
|
description = "Python library to make retrieving Amazon VPC Flow Logs from CloudWatch Logs a bit easier";
|
|
mainProgram = "flowlogs_reader";
|
|
homepage = "https://github.com/obsrvbl/flowlogs-reader";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ cransom ];
|
|
};
|
|
}
|