Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pydata-google-auth / default.nix
blobf24f2e78470bb7a935d52c83dd3f75bd8d725d8a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , google-auth
5 , google-auth-oauthlib
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "pydata-google-auth";
11   version = "1.8.2";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     repo = pname;
16     owner = "pydata";
17     rev = "refs/tags/${version}";
18     hash = "sha256-Wo+tXbzOuz/cW8GuWoSxLA/Lr2S9NMdePa8tIV39mbY=";
19   };
21   nativeBuildInputs = [
22     setuptools
23   ];
25   propagatedBuildInputs = [
26     google-auth
27     google-auth-oauthlib
28   ];
30   # tests require network access
31   doCheck = false;
33   pythonImportsCheck = [
34     "pydata_google_auth"
35   ];
37   meta = with lib; {
38     description = "Helpers for authenticating to Google APIs";
39     homepage = "https://github.com/pydata/pydata-google-auth";
40     license = licenses.bsd3;
41     maintainers = with maintainers; [ cpcloud ];
42   };