|
|
@ -14,14 +14,23 @@ |
|
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
buildPythonPackage rec { |
|
|
|
pname = "paramiko"; |
|
|
|
pname = "paramiko"; |
|
|
|
version = "2.10.3"; |
|
|
|
version = "2.10.4"; |
|
|
|
format = "setuptools"; |
|
|
|
format = "setuptools"; |
|
|
|
|
|
|
|
|
|
|
|
src = fetchPypi { |
|
|
|
src = fetchPypi { |
|
|
|
inherit pname version; |
|
|
|
inherit pname version; |
|
|
|
sha256 = "sha256-3bGXeFOu+CgEs11yoOWXskT6MmxATDUL0AxbAdv+5xo="; |
|
|
|
sha256 = "sha256-PS5lC2gSzm0WCr/3AdbvRDTsl5NLE+lc8a09pw/7XFg="; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
propagatedBuildInputs = [ |
|
|
|
bcrypt |
|
|
|
bcrypt |
|
|
|
cryptography |
|
|
|
cryptography |
|
|
@ -51,15 +60,6 @@ buildPythonPackage rec { |
|
|
|
"paramiko" |
|
|
|
"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; |
|
|
|
__darwinAllowLocalNetworking = true; |
|
|
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
meta = with lib; { |
|
|
@ -72,6 +72,6 @@ buildPythonPackage rec { |
|
|
|
between python scripts. All major ciphers and hash methods are |
|
|
|
between python scripts. All major ciphers and hash methods are |
|
|
|
supported. SFTP client and server mode are both supported too. |
|
|
|
supported. SFTP client and server mode are both supported too. |
|
|
|
''; |
|
|
|
''; |
|
|
|
maintainers = with maintainers; [ ]; |
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ]; |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|