Unverified Commit 6e3baae0 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.google-auth-oauthlib: fix build in darwin sandbox (#373724)

parents 28e627bb b40c4777
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
@@ -4,12 +4,11 @@
  buildPythonPackage,
  fetchPypi,
  setuptools,
  google-auth,
  requests-oauthlib,
  click,
  mock,
  pytestCheckHook,
  google-auth,
  requests-oauthlib,
  pythonOlder,
}:

buildPythonPackage rec {
@@ -17,8 +16,6 @@ buildPythonPackage rec {
  version = "1.2.1";
  pyproject = true;

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    pname = "google_auth_oauthlib";
    inherit version;
@@ -53,12 +50,14 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "google_auth_oauthlib" ];

  meta = with lib; {
  __darwinAllowLocalNetworking = true;

  meta = {
    description = "Google Authentication Library: oauthlib integration";
    homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib";
    changelog = "https://github.com/googleapis/google-auth-library-python-oauthlib/blob/v${version}/CHANGELOG.md";
    license = licenses.asl20;
    maintainers = with maintainers; [ terlar ];
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ terlar ];
    mainProgram = "google-oauthlib-tool";
  };
}