mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 08:44:09 +01:00
https://github.com/ParallelSSH/ssh2-python/blob/1.2.0.post1/Changelog.rst This commit was automatically generated using update-python-libraries.
47 lines
915 B
Nix
47 lines
915 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
cython,
|
|
openssl,
|
|
zlib,
|
|
libssh2,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ssh2-python";
|
|
version = "1.2.0.post1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ParallelSSH";
|
|
repo = "ssh2-python";
|
|
tag = version;
|
|
hash = "sha256-GhkVie+UPjM1C1Jb3/ef59kuJRYmIkauTCaoksqu1LM=";
|
|
};
|
|
|
|
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/${src.tag}/Changelog.rst";
|
|
license = lib.licenses.lgpl21Only;
|
|
maintainers = with lib.maintainers; [ infinidoge ];
|
|
};
|
|
}
|