blob: fe831c650b67b7830e5096b84990f6f098fe3a57 (
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
|
{
lib,
buildPythonPackage,
cython,
expandvars,
fetchPypi,
libssh,
setuptools,
setuptools-scm,
toml,
wheel,
}:
buildPythonPackage (finalAttrs: {
pname = "ansible-pylibssh";
version = "1.4.0";
pyproject = true;
src = fetchPypi {
pname = "ansible_pylibssh";
inherit (finalAttrs) version;
hash = "sha256-pItebbIQYrxiWFSOaj5DYwQ9QBKPDmt5Z3Slm2p9voI=";
};
build-system = [
cython
expandvars
setuptools
setuptools-scm
toml
wheel
];
dependencies = [ libssh ];
pythonImportsCheck = [ "pylibsshext" ];
meta = {
description = "Python bindings to client functionality of libssh specific to Ansible use case";
homepage = "https://github.com/ansible/pylibssh";
changelog = "https://github.com/ansible/pylibssh/releases/tag/v${finalAttrs.version}";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ wfdewith ];
};
})
|