My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/google-auth-oauthlib/default.nix

50 lines
958 B

{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, click
, mock
, pytestCheckHook
, google-auth
, requests-oauthlib
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-auth-oauthlib";
version = "0.5.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-MFlrgk/GgI/ayi8EjkmYzED7SzWZ6upm0o3HCFs2xbg=";
};
propagatedBuildInputs = [
google-auth
requests-oauthlib
];
checkInputs = [
click
mock
pytestCheckHook
];
disabledTests = lib.optionals stdenv.isDarwin [
"test_run_local_server"
];
pythonImportsCheck = [
"google_auth_oauthlib"
];
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 ];
};
}