aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/google_auth/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/google_auth/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/google_auth/default.nix35
1 files changed, 11 insertions, 24 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/google_auth/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/google_auth/default.nix
index 59ed94d34865..3f47a366fba8 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/python-modules/google_auth/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/google_auth/default.nix
@@ -1,29 +1,19 @@
-{ stdenv, buildPythonPackage, fetchpatch, fetchPypi
-, cachetools
-, flask
-, freezegun
-, mock
-, oauth2client
-, pyasn1-modules
-, pytest
-, pytest-localserver
-, requests
-, responses
-, rsa
-, setuptools
-, six
-, urllib3
-}:
+{ stdenv, buildPythonPackage, fetchpatch, fetchPypi, pythonOlder
+, pytestCheckHook, cachetools, flask, freezegun, mock, oauth2client
+, pyasn1-modules, pytest, pytest-localserver, requests, responses, rsa
+, setuptools, six, urllib3 }:
buildPythonPackage rec {
pname = "google-auth";
- version = "1.20.1";
+ version = "1.23.0";
src = fetchPypi {
inherit pname version;
- sha256 = "2f34dd810090d0d4c9d5787c4ad7b4413d1fbfb941e13682c7a2298d3b6cdcc8";
+ sha256 = "5176db85f1e7e837a646cd9cede72c3c404ccf2e3373d9ee14b2db88febad440";
};
+ disabled = pythonOlder "3.5";
+
propagatedBuildInputs = [ six pyasn1-modules cachetools rsa setuptools ];
checkInputs = [
@@ -31,17 +21,13 @@ buildPythonPackage rec {
freezegun
mock
oauth2client
- pytest
+ pytestCheckHook
pytest-localserver
requests
responses
urllib3
];
- checkPhase = ''
- py.test
- '';
-
meta = with stdenv.lib; {
description = "Google Auth Python Library";
longDescription = ''
@@ -49,7 +35,8 @@ buildPythonPackage rec {
authentication mechanisms to access Google APIs.
'';
homepage = "https://github.com/googleapis/google-auth-library-python";
- changelog = "https://github.com/googleapis/google-auth-library-python/blob/v${version}/CHANGELOG.md";
+ changelog =
+ "https://github.com/googleapis/google-auth-library-python/blob/v${version}/CHANGELOG.md";
# Documentation: https://googleapis.dev/python/google-auth/latest/index.html
license = licenses.asl20;
maintainers = with maintainers; [ ];