2018-04-05 22:42:47 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, six, httplib2, pyasn1-modules, rsa }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "oauth2client";
|
2018-04-05 22:49:34 +02:00
|
|
|
version = "4.1.2";
|
2018-04-05 22:42:47 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-05 22:49:34 +02:00
|
|
|
sha256 = "bd3062c06f8b10c6ef7a890b22c2740e5f87d61b6e1f4b1c90d069cdfc9dadb5";
|
2018-04-05 22:42:47 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six httplib2 pyasn1-modules rsa ];
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A client library for OAuth 2.0";
|
|
|
|
homepage = https://github.com/google/oauth2client/;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|