mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
Merge pull request #177369 from applePrincess/fix-aws-adfs
python3Packages.aws-adfs: fix build
This commit is contained in:
commit
d8916eaeaf
@ -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 New Issue
Block a user