python3Packages.paramiko: 2.8.1 -> 2.9.1

This commit is contained in:
Fabian Affolter
2022-01-03 21:31:37 +01:00
parent c6f7ec4c2a
commit 63fe40a6f5

View File

@@ -1,48 +1,65 @@
{ pkgs
, buildPythonPackage
, fetchPypi
, cryptography
{ lib
, bcrypt
, buildPythonPackage
, cryptography
, fetchPypi
, invoke
, pynacl
, pyasn1
, pytestCheckHook
, pytest-relaxed
, mock
, pyasn1
, pynacl
, pytest-relaxed
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "paramiko";
version = "2.8.1";
version = "2.9.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "85b1245054e5d7592b9088cc6d08da22445417912d3a3e48138675c7a8616438";
hash = "sha256-of3e07VfYdIzieT+UtmuQolgrJWNLt9QNz+qXYkm7dA=";
};
propagatedBuildInputs = [ bcrypt cryptography pynacl pyasn1 ];
propagatedBuildInputs = [
bcrypt
cryptography
pyasn1
pynacl
];
checkInputs = [
invoke
mock
pytest-relaxed
pytestCheckHook
];
# with python 3.9.6+, the deprecation warnings will fail the test suite
# see: https://github.com/pyinvoke/invoke/issues/829
doCheck = false;
checkInputs = [ invoke pytestCheckHook pytest-relaxed mock ];
disabledTestPaths = [
"tests/test_sftp.py"
"tests/test_config.py"
];
pythonImportsCheck = [
"paramiko"
];
__darwinAllowLocalNetworking = true;
meta = with pkgs.lib; {
meta = with lib; {
homepage = "https://github.com/paramiko/paramiko/";
description = "Native Python SSHv2 protocol library";
license = licenses.lgpl21Plus;
longDescription = ''
This is a library for making SSH2 connections (client or server).
Emphasis is on using SSH2 as an alternative to SSL for making secure
connections between python scripts. All major ciphers and hash methods
are supported. SFTP client and server mode are both supported too.
Library for making SSH2 connections (client or server). Emphasis is
on using SSH2 as an alternative to SSL for making secure connections
between python scripts. All major ciphers and hash methods are
supported. SFTP client and server mode are both supported too.
'';
maintainers = with maintainers; [ ];
};
}