depot/third_party/nixpkgs/pkgs/development/python-modules/google-auth-oauthlib/default.nix
Default email b6f2ab0a42 Project import generated by Copybara.
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
2021-08-18 15:19:15 +02:00

40 lines
822 B
Nix

{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, click
, mock
, pytestCheckHook
, google-auth
, requests_oauthlib
}:
buildPythonPackage rec {
pname = "google-auth-oauthlib";
version = "0.4.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-SrWObD3GzPES+SH8ztQOVCb7omZ2iYbqUCIoSIJ26ro=";
};
propagatedBuildInputs = [
google-auth
requests_oauthlib
];
checkInputs = [
click
mock
pytestCheckHook
];
disabledTests = lib.optionals stdenv.isDarwin [ "test_run_local_server" ];
meta = with lib; {
description = "Google Authentication Library: oauthlib integration";
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 terlar ];
};
}