summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2022-01-06 10:02:58 +0100
committerGitHub <noreply@github.com>2022-01-06 10:02:58 +0100
commit8609187e306cba0efa94eed5e84ae24bc431441e (patch)
tree1ad79e8996b2a974bef7012f55dfc48dc7c0b5a7 /pkgs
parentaad4d02c1e8ea8d1c7a99a663489692b7d239f6d (diff)
parent63fe40a6f59a162ba67a54d520bd2e57ea49506c (diff)
downloadnixpkgs-8609187e306cba0efa94eed5e84ae24bc431441e.tar
nixpkgs-8609187e306cba0efa94eed5e84ae24bc431441e.tar.gz
nixpkgs-8609187e306cba0efa94eed5e84ae24bc431441e.tar.bz2
nixpkgs-8609187e306cba0efa94eed5e84ae24bc431441e.tar.lz
nixpkgs-8609187e306cba0efa94eed5e84ae24bc431441e.tar.xz
nixpkgs-8609187e306cba0efa94eed5e84ae24bc431441e.tar.zst
nixpkgs-8609187e306cba0efa94eed5e84ae24bc431441e.zip
Merge pull request #153389 from fabaff/bump-paramiko
python3Packages.paramiko: 2.8.1 -> 2.9.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/paramiko/default.nix47
1 files changed, 32 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/paramiko/default.nix b/pkgs/development/python-modules/paramiko/default.nix
index 86154554b69..d271111d58f 100644
--- a/pkgs/development/python-modules/paramiko/default.nix
+++ b/pkgs/development/python-modules/paramiko/default.nix
@@ -1,48 +1,65 @@
-{ pkgs
+{ lib
+, bcrypt
 , buildPythonPackage
-, fetchPypi
 , cryptography
-, bcrypt
+, fetchPypi
 , invoke
-, pynacl
+, mock
 , pyasn1
-, pytestCheckHook
+, pynacl
 , pytest-relaxed
-, mock
+, 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; [ ];
   };
 }