depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-audit-log/default.nix

26 lines
708 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, googleapis-common-protos, protobuf }:
buildPythonPackage rec {
pname = "google-cloud-audit-log";
version = "0.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Yi8baD1TgpLr1zNH2i+CBeY+3gwL7Aq5nnmgZcSSZr0=";
};
propagatedBuildInputs = [ googleapis-common-protos protobuf ];
# tests are a bit wonky to setup and are not very deep either
doCheck = false;
pythonImportsCheck = [ "google.cloud.audit" ];
meta = with lib; {
description = "Google Cloud Audit Protos";
homepage = "https://github.com/googleapis/python-audit-log";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}