Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-audit-log / default.nix
blob60515a9c65dc2ce1f63c2880f51d6cc422b1b7b0
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , googleapis-common-protos
5 , protobuf
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "google-cloud-audit-log";
11   version = "0.2.5";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-huL6ujODrcj9BKW9f9T5YLPkrtqn7ZUPL4kc4WkC62s=";
19   };
21   propagatedBuildInputs = [ googleapis-common-protos protobuf ];
23   # tests are a bit wonky to setup and are not very deep either
24   doCheck = false;
26   pythonImportsCheck = [
27     "google.cloud.audit"
28   ];
30   meta = with lib; {
31     description = "Google Cloud Audit Protos";
32     homepage = "https://github.com/googleapis/python-audit-log";
33     changelog = "https://github.com/googleapis/python-audit-log/blob/v${version}/CHANGELOG.md";
34     license = licenses.asl20;
35     maintainers = with maintainers; [ ];
36   };