blob: 02c957dd2f544793fa334c07be19a7b767779ed8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
cython,
openssl,
zlib,
libssh,
}:
buildPythonPackage rec {
pname = "ssh-python";
version = "1.2.0.post1";
pyproject = true;
src = fetchFromGitHub {
owner = "ParallelSSH";
repo = "ssh-python";
tag = version;
hash = "sha256-ix6UzyC/mFDVOvfJujwppijmsTrwNtuDAkmikrKKc2o=";
};
build-system = [ setuptools ];
nativeBuildInputs = [ cython ];
buildInputs = [
openssl
zlib
libssh
];
env = {
SYSTEM_LIBSSH = true;
};
pythonImportsCheck = [ "ssh" ];
meta = {
description = "Python bindings for libssh C library";
homepage = "https://github.com/ParallelSSH/ssh-python";
changelog = "https://github.com/ParallelSSH/ssh-python/blob/${src.tag}/Changelog.rst";
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ infinidoge ];
};
}
|