Merge pull request #252018 from jbgosselin/gimme-aws-creds/2.7.2

gimme-aws-creds: 2.7.1 -> 2.7.2
This commit is contained in:
Matthias Beyer 2023-08-28 21:46:56 +02:00 committed by GitHub
commit aa5448bf77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,14 +42,14 @@ let
in in
python.pkgs.buildPythonApplication rec { python.pkgs.buildPythonApplication rec {
pname = "gimme-aws-creds"; pname = "gimme-aws-creds";
version = "2.7.1"; # N.B: if you change this, check if overrides are still up-to-date version = "2.7.2"; # N.B: if you change this, check if overrides are still up-to-date
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Nike-Inc"; owner = "Nike-Inc";
repo = "gimme-aws-creds"; repo = "gimme-aws-creds";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-vn3DzDqu19g6Z/RcWsktJxmeg6oK9NIEyjpH9g1tXNs="; hash = "sha256-ydzGaUQ43vvQqU9xvhPJqHG/2PUtBbASIVpZCDnsR60=";
}; };
nativeBuildInputs = with python.pkgs; [ nativeBuildInputs = with python.pkgs; [
@ -71,6 +71,11 @@ python.pkgs.buildPythonApplication rec {
pyjwt pyjwt
]; ];
preCheck = ''
# Disable using platform's keyring unavailable in sandbox
export PYTHON_KEYRING_BACKEND="keyring.backends.fail.Keyring"
'';
checkInputs = with python.pkgs; [ checkInputs = with python.pkgs; [
pytestCheckHook pytestCheckHook
responses responses