2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
googleapis-common-protos,
|
|
|
|
protobuf,
|
|
|
|
pythonOlder,
|
2023-01-11 07:51:40 +00:00
|
|
|
}:
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-audit-log";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "0.2.5";
|
2023-01-11 07:51:40 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-20 10:41:00 +00:00
|
|
|
hash = "sha256-huL6ujODrcj9BKW9f9T5YLPkrtqn7ZUPL4kc4WkC62s=";
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
googleapis-common-protos
|
|
|
|
protobuf
|
|
|
|
];
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
# tests are a bit wonky to setup and are not very deep either
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "google.cloud.audit" ];
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Google Cloud Audit Protos";
|
|
|
|
homepage = "https://github.com/googleapis/python-audit-log";
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/googleapis/python-audit-log/blob/v${version}/CHANGELOG.md";
|
2021-08-27 14:25:00 +00:00
|
|
|
license = licenses.asl20;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-08-27 14:25:00 +00:00
|
|
|
};
|
|
|
|
}
|