sylkserver: init at 6.5.0 (#431317)

authored by Gaétan Lepage and committed by GitHub f4546d28 47993bd2

+62
+62
pkgs/by-name/sy/sylkserver/package.nix
···
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + python3Packages, 5 + versionCheckHook, 6 + fetchpatch2, 7 + }: 8 + 9 + python3Packages.buildPythonApplication rec { 10 + pname = "sylkserver"; 11 + version = "6.5.0"; 12 + pyproject = true; 13 + 14 + src = fetchFromGitHub { 15 + owner = "AGProjects"; 16 + repo = "sylkserver"; 17 + tag = version; 18 + hash = "sha256-A15EJs35ZgXy9db3+XC0q5fTlemLJsA945nvIY50Pa4="; 19 + }; 20 + 21 + patches = [ 22 + # should be removed with next release 23 + (fetchpatch2 { 24 + url = "https://github.com/AGProjects/sylkserver/commit/c0d943b4ff4401b2892b84d66e7cd27db7e6a927.patch"; 25 + hash = "sha256-U0a8mRbt8c4lUcN2xYDfvXTt/sWcvi7F3/Vw5sIQPrU="; 26 + }) 27 + ]; 28 + 29 + build-system = [ python3Packages.setuptools ]; 30 + 31 + dependencies = with python3Packages; [ 32 + autobahn 33 + cement 34 + dnspython 35 + klein 36 + lxml 37 + msrplib 38 + python3-eventlib 39 + python3-gnutls 40 + sipsimple 41 + wokkel 42 + xcaplib 43 + ]; 44 + 45 + pythonImportsCheck = [ "sylk" ]; 46 + 47 + # no upstream tests exist 48 + 49 + nativeCheckInputs = [ versionCheckHook ]; 50 + versionCheckProgram = "${placeholder "out"}/bin/sylk-server"; 51 + versionCheckProgramArg = "--version"; 52 + 53 + meta = { 54 + description = "SIP/XMPP/WebRTC Application Server"; 55 + homepage = "https://sylkserver.com/"; 56 + downloadPage = "https://github.com/AGProjects/sylkserver"; 57 + changelog = "https://github.com/AGProjects/sylkserver/releases/tag/${version}"; 58 + license = lib.licenses.gpl3Plus; 59 + teams = [ lib.teams.ngi ]; 60 + mainProgram = "sylk-server"; 61 + }; 62 + }