nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, fetchPypi, google-api-core, libcst, mock, proto-plus, pytestCheckHook, pytest-asyncio }:
2
3buildPythonPackage rec {
4 pname = "google-cloud-os-config";
5 version = "1.11.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-i4STXwnFyfXauRx4zvYMO1uWMechvNUOxolOcY3Z5us=";
10 };
11
12 propagatedBuildInputs = [ google-api-core libcst proto-plus ];
13
14 checkInputs = [ mock pytestCheckHook pytest-asyncio ];
15
16 pythonImportsCheck = [ "google.cloud.osconfig" ];
17
18 disabledTests = [
19 "test_patch_deployment"
20 "test_patch_job"
21 ];
22
23 meta = with lib; {
24 description = "Google Cloud OS Config API client library";
25 homepage = "https://github.com/googleapis/python-os-config";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ SuperSandro2000 ];
28 };
29}