vscode-extensions.github.copilot{*}: bump (#364729)
[NixPkgs.git] / pkgs / development / python-modules / pydata-google-auth / default.nix
blob727ac93f47b61dd1d90f767d1e89477e93f105d6
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   google-auth-oauthlib,
6   google-auth,
7   pythonOlder,
8   setuptools,
9   versioneer,
12 buildPythonPackage rec {
13   pname = "pydata-google-auth";
14   version = "1.8.2";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     repo = "pydata-google-auth";
21     owner = "pydata";
22     rev = "refs/tags/${version}";
23     hash = "sha256-Wo+tXbzOuz/cW8GuWoSxLA/Lr2S9NMdePa8tIV39mbY=";
24   };
26   postPatch = ''
27     # Remove vendorized versioneer.py
28     rm versioneer.py
29   '';
31   build-system = [
32     setuptools
33     versioneer
34   ];
36   dependencies = [
37     google-auth
38     google-auth-oauthlib
39   ];
41   # tests require network access
42   doCheck = false;
44   pythonImportsCheck = [ "pydata_google_auth" ];
46   meta = with lib; {
47     description = "Helpers for authenticating to Google APIs";
48     homepage = "https://github.com/pydata/pydata-google-auth";
49     changelog = "https://github.com/pydata/pydata-google-auth/releases/tag/${version}";
50     license = licenses.bsd3;
51     maintainers = with maintainers; [ cpcloud ];
52   };