python3Packages.aws-adfs: fix build
This commit is contained in:
parent
ec4e23d4e9
commit
85213b6b41
|
@ -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 = "*"' \
|
||||
|
|
Loading…
Reference in a new issue