3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/google-auth-oauthlib/default.nix
2019-03-15 22:26:53 +01:00

40 lines
755 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, click
, mock
, pytest
, futures
, google_auth
, requests_oauthlib
}:
buildPythonPackage rec {
pname = "google-auth-oauthlib";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "226d1d0960f86ba5d9efd426a70b291eaba96f47d071657e0254ea969025728a";
};
checkInputs = [
click mock pytest futures
];
propagatedBuildInputs = [
google_auth requests_oauthlib
];
checkPhase = ''
py.test
'';
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; [ terlar ];
};
}