at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 lxml, 7 twisted, 8 python3-application, 9 unstableGitUpdater, 10}: 11 12buildPythonPackage rec { 13 pname = "xcaplib"; 14 # latest commit is needed for python 3.13 compat. 15 version = "2.0.1-unstable-2025-03-20"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "AGProjects"; 20 repo = "python3-xcaplib"; 21 rev = "925846f2520d823f0b83279ceca6202808a4ca4f"; 22 hash = "sha256-8EtXwHMQcPzPfP8JpB6gTV7PADHz+bJIJMhvR3DkPkk="; 23 }; 24 25 build-system = [ 26 setuptools 27 ]; 28 29 dependencies = [ 30 lxml 31 twisted 32 python3-application 33 ]; 34 35 # the one and only upstream test relies on networking 36 doCheck = false; 37 38 pythonImportsCheck = [ "xcaplib" ]; 39 40 passthru.updateScript = unstableGitUpdater { }; 41 42 meta = { 43 description = "XCAP (RFC4825) client library"; 44 homepage = "https://github.com/AGProjects/python3-xcaplib"; 45 license = lib.licenses.lgpl21Plus; 46 teams = [ lib.teams.ngi ]; 47 maintainers = [ lib.maintainers.ethancedwards8 ]; 48 mainProgram = "xcapclient3"; 49 }; 50}