nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, google_cloud_core
5, google_api_core
6, pytest
7, mock
8, isPy38
9}:
10
11buildPythonPackage rec {
12 pname = "google-cloud-resource-manager";
13 version = "0.30.0";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "6e4f1d618d8934ee9011e97db940bb177770b430fd29e58848599a416d9f6590";
18 };
19
20 checkInputs = [ pytest mock ];
21 propagatedBuildInputs = [ google_cloud_core google_api_core ];
22
23 checkPhase = ''
24 pytest tests/unit
25 '';
26
27 meta = with stdenv.lib; {
28 description = "Google Cloud Resource Manager API client library";
29 homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
30 license = licenses.asl20;
31 maintainers = [ maintainers.costrouc ];
32 broken = isPy38;
33 };
34}