blob: 33f7607b6a3b7f9ec230f02d797529172904e1c2 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
lxml,
twisted,
python3-application,
unstableGitUpdater,
}:
buildPythonPackage {
pname = "xcaplib";
# latest commit is needed for python 3.13 compat.
version = "2.0.1-unstable-2025-03-20";
pyproject = true;
src = fetchFromGitHub {
owner = "AGProjects";
repo = "python3-xcaplib";
rev = "925846f2520d823f0b83279ceca6202808a4ca4f";
hash = "sha256-8EtXwHMQcPzPfP8JpB6gTV7PADHz+bJIJMhvR3DkPkk=";
};
build-system = [
setuptools
];
dependencies = [
lxml
twisted
python3-application
];
# the one and only upstream test relies on networking
doCheck = false;
pythonImportsCheck = [ "xcaplib" ];
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "XCAP (RFC4825) client library";
homepage = "https://github.com/AGProjects/python3-xcaplib";
license = lib.licenses.lgpl21Plus;
teams = [ lib.teams.ngi ];
maintainers = [ lib.maintainers.ethancedwards8 ];
mainProgram = "xcapclient3";
};
}
|