ssh2-python: init at 1.1.2
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
cython,
|
||||
openssl,
|
||||
zlib,
|
||||
libssh2,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ssh2-python";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ParallelSSH";
|
||||
repo = "ssh2-python";
|
||||
tag = version;
|
||||
hash = "sha256-nNMe7BTHI4O9Ueyq2YxtHat4BrrtiWGFkKHwUu/NtkM=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
];
|
||||
buildInputs = [
|
||||
openssl
|
||||
zlib
|
||||
libssh2
|
||||
];
|
||||
|
||||
env = {
|
||||
SYSTEM_LIBSSH2 = true;
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "ssh2" ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for libssh2 C library";
|
||||
homepage = "https://github.com/ParallelSSH/ssh2-python";
|
||||
changelog = "https://github.com/ParallelSSH/ssh2-python/blob/${version}/Changelog.rst";
|
||||
license = lib.licenses.lgpl21Only;
|
||||
maintainers = with lib.maintainers; [ infinidoge ];
|
||||
};
|
||||
}
|
||||
@@ -15518,6 +15518,8 @@ self: super: with self; {
|
||||
|
||||
ssh-python = callPackage ../development/python-modules/ssh-python { };
|
||||
|
||||
ssh2-python = callPackage ../development/python-modules/ssh2-python { };
|
||||
|
||||
sslib = callPackage ../development/python-modules/sslib { };
|
||||
|
||||
ssg = callPackage ../development/python-modules/ssg { };
|
||||
|
||||
Reference in New Issue
Block a user