blob: da4d1ad65f3c5988e71d29dc73c285d1aecd8e54 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
google-auth,
google-auth-oauthlib,
setuptools,
}:
buildPythonPackage rec {
pname = "pydata-google-auth";
version = "1.8.2";
format = "setuptools";
src = fetchFromGitHub {
repo = pname;
owner = "pydata";
rev = "refs/tags/${version}";
hash = "sha256-Wo+tXbzOuz/cW8GuWoSxLA/Lr2S9NMdePa8tIV39mbY=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
google-auth
google-auth-oauthlib
];
# tests require network access
doCheck = false;
pythonImportsCheck = [ "pydata_google_auth" ];
meta = with lib; {
description = "Helpers for authenticating to Google APIs";
homepage = "https://github.com/pydata/pydata-google-auth";
license = licenses.bsd3;
maintainers = with maintainers; [ cpcloud ];
};
}
|