blob: 6de2732e7a3c4fa49f6a81f49f8b934aa5385c27 (
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
48
49
50
51
52
53
54
55
56
57
|
{
lib,
buildPythonPackage,
fetchurl,
fetchFromGitLab,
gobject-introspection,
idna,
libsoup_3,
packaging,
precis-i18n,
pygobject3,
pyopenssl,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "nbxmpp";
version = "7.0.0";
pyproject = true;
src = fetchFromGitLab {
domain = "dev.gajim.org";
owner = "gajim";
repo = "python-nbxmpp";
tag = version;
hash = "sha256-NzSXvuPf7PZbMPgD3nhPgTH4Vd8DVx49fjf7cPcvywc=";
};
nativeBuildInputs = [
# required for pythonImportsCheck otherwise libsoup cannot be found
gobject-introspection
setuptools
];
buildInputs = [ precis-i18n ];
propagatedBuildInputs = [
gobject-introspection
idna
libsoup_3
packaging
pygobject3
pyopenssl
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nbxmpp" ];
meta = {
homepage = "https://dev.gajim.org/gajim/python-nbxmpp";
description = "Non-blocking Jabber/XMPP module";
license = lib.licenses.gpl3Plus;
maintainers = [ ];
};
}
|