python3Packages.paramiko: 2.7.1 -> 2.7.2

This commit is contained in:
Jonathan Ringer 2021-01-11 17:55:00 -08:00 committed by Jonathan Ringer
parent 39fbff44a8
commit 42865ca616

View File

@ -1,7 +1,6 @@
{ pkgs { pkgs
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch
, cryptography , cryptography
, bcrypt , bcrypt
, invoke , invoke
@ -14,20 +13,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "paramiko"; pname = "paramiko";
version = "2.7.1"; version = "2.7.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "920492895db8013f6cc0179293147f830b8c7b21fdfc839b6bad760c27459d9f"; sha256 = "7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035";
}; };
patches = [
# fix RSA key loading with cryptography 3.1, remove >2.7.1
(fetchpatch {
url = "https://github.com/paramiko/paramiko/commit/81064206bf3cec2ca4372257ff138481e1227b91.patch";
sha256 = "01b87ffgyvd6rilp1w1kf7lk29z706ch39nwl21ifklqpjhmazww";
})
];
checkInputs = [ invoke pytest mock pytest-relaxed ]; checkInputs = [ invoke pytest mock pytest-relaxed ];
propagatedBuildInputs = [ bcrypt cryptography pynacl pyasn1 ]; propagatedBuildInputs = [ bcrypt cryptography pynacl pyasn1 ];