Files
nixpkgs/pkgs/development/python-modules/paramiko/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

71 lines
1.4 KiB
Nix

{
lib,
bcrypt,
buildPythonPackage,
cryptography,
fetchPypi,
gssapi,
icecream,
invoke,
mock,
pyasn1,
pynacl,
pytest-relaxed,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "paramiko";
version = "4.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-aiXwezgMycmojSuSCtNxZ6xGZ/jZiGzOvY+Q9lS11p8=";
};
build-system = [ setuptools ];
dependencies = [
bcrypt
cryptography
pynacl
];
optional-dependencies = {
gssapi = [
pyasn1
gssapi
];
ed25519 = [ ];
invoke = [ invoke ];
};
nativeCheckInputs = [
icecream
mock
pytestCheckHook
pytest-relaxed
]
++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "paramiko" ];
__darwinAllowLocalNetworking = true;
meta = {
homepage = "https://github.com/paramiko/paramiko/";
changelog = "https://github.com/paramiko/paramiko/blob/${version}/sites/www/changelog.rst";
description = "Native Python SSHv2 protocol library";
license = lib.licenses.lgpl21Plus;
longDescription = ''
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.
'';
teams = [ lib.teams.helsinki-systems ];
};
}