diff options
Diffstat (limited to 'pkgs/development/python-modules/aws-adfs/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aws-adfs/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aws-adfs/default.nix b/pkgs/development/python-modules/aws-adfs/default.nix index 3b2963f7d693..7f79f99e3a67 100644 --- a/pkgs/development/python-modules/aws-adfs/default.nix +++ b/pkgs/development/python-modules/aws-adfs/default.nix @@ -5,6 +5,7 @@ , click , configparser , fetchFromGitHub +, fetchpatch , fido2 , lxml , poetry-core @@ -46,6 +47,14 @@ buildPythonPackage rec { requests-kerberos ]; + patches = [ + # Apply new fido2 api (See: venth/aws-adfs#243) + (fetchpatch { + url = "https://github.com/venth/aws-adfs/commit/09836d89256f3537270d760d8aa30ab9284725a8.diff"; + hash = "sha256-pAAJvOa43BXtyWvV8hsLe2xqd5oI+vzndckRTRol61s="; + }) + ]; + postPatch = '' substituteInPlace pyproject.toml \ --replace 'boto3 = "^1.20.50"' 'boto3 = "*"' \ |