python3.pkgs.paramiko: apply patch to fix usage of dsa keys

This commit is contained in:
Frederik Rietdijk 2022-03-28 14:40:07 +02:00 committed by Frederik Rietdijk
parent 29d6ea9c6c
commit 3b8a5bfefa

View file

@ -9,6 +9,7 @@
, pynacl
, pytest-relaxed
, pytestCheckHook
, fetchpatch
}:
buildPythonPackage rec {
@ -48,6 +49,15 @@ buildPythonPackage rec {
"paramiko"
];
patches = [
# Fix usage of dsa keys
# https://github.com/paramiko/paramiko/pull/1606/
(fetchpatch {
url = "https://github.com/paramiko/paramiko/commit/18e38b99f515056071fb27b9c1a4f472005c324a.patch";
sha256 = "sha256-bPDghPeLo3NiOg+JwD5CJRRLv2VEqmSx1rOF2Tf8ZDA=";
})
];
__darwinAllowLocalNetworking = true;
meta = with lib; {