fail2ban: Fix use of `MutableMapping` for Python >= 3.10

main
Kritnich 2 years ago
parent d52524e11b
commit 09b2074e53
No known key found for this signature in database
GPG Key ID: 016D975C24569528
  1. 6
      pkgs/tools/security/fail2ban/default.nix

@ -27,6 +27,12 @@ python3.pkgs.buildPythonApplication rec {
url = "https://github.com/fail2ban/fail2ban/commit/5ac303df8a171f748330d4c645ccbf1c2c7f3497.patch";
sha256 = "sha256-aozQJHwPcJTe/D/PLQzBk1YH3OAP6Qm7wO7cai5CVYI=";
})
# fix use of MutableMapping with Python >= 3.10
# https://github.com/fail2ban/fail2ban/issues/3142
(fetchpatch {
url = "https://github.com/fail2ban/fail2ban/commit/294ec73f629d0e29cece3a1eb5dd60b6fccea41f.patch";
sha256 = "sha256-Eimm4xjBDYNn5QdTyMqGgT5EXsZdd/txxcWJojXlsFE=";
})
];
preConfigure = ''

Loading…
Cancel
Save