depot/third_party/nixpkgs/pkgs/tools/admin/awslogs/default.nix
Default email b96e6f4393 Project import generated by Copybara.
GitOrigin-RevId: 20887e4bbfdae3aed6bfa1f53ddf138ee325515e
2021-07-03 21:40:35 -05:00

30 lines
775 B
Nix

{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "awslogs";
version = "0.14.0";
src = fetchFromGitHub {
owner = "jorgebastida";
repo = "awslogs";
rev = version;
sha256 = "1gyry8b64psvmjcb2lb3yilpa7b17yllga06svls4hi69arvrd8f";
};
propagatedBuildInputs = with python3Packages; [
boto3 termcolor python-dateutil docutils setuptools jmespath
];
checkInputs = [ python3Packages.pytestCheckHook ];
disabledTests = [
"test_main_get_query"
"test_main_get_with_color"
];
meta = with lib; {
homepage = "https://github.com/jorgebastida/awslogs";
description = "AWS CloudWatch logs for Humans";
maintainers = with maintainers; [ dbrock ];
license = licenses.bsd3;
};
}