File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
pkgs/development/python-modules/aioxmpp Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 55 babel ,
66 buildPythonPackage ,
77 dnspython ,
8- fetchFromGitHub ,
8+ fetchFromGitea ,
99 lxml ,
1010 multidict ,
1111 pyasn1-modules ,
@@ -27,13 +27,21 @@ buildPythonPackage rec {
2727
2828 disabled = pythonOlder "3.7" ;
2929
30- src = fetchFromGitHub {
31- owner = "horazont" ;
30+ src = fetchFromGitea {
31+ domain = "codeberg.org" ;
32+ owner = "jssfr" ;
3233 repo = "aioxmpp" ;
3334 tag = "v${ version } " ;
3435 hash = "sha256-bQPKEM5eKhFI3Kx3U1espdxqjnG4yUgOXmYCrd98PDo=" ;
3536 } ;
3637
38+ postPatch = ''
39+ substituteInPlace tests/bookmarks/test_service.py \
40+ --replace-fail 'can only assign an iterable$' 'must assign iterable'
41+ substituteInPlace tests/test_utils.py \
42+ --replace-fail 'property of .* has no' 'property .*of .* has no'
43+ '' ;
44+
3745 pythonRelaxDeps = [
3846 "lxml"
3947 ] ;
@@ -87,8 +95,8 @@ buildPythonPackage rec {
8795
8896 meta = {
8997 description = "Pure-python XMPP library for asyncio" ;
90- homepage = "https://github.com/horazont /aioxmpp" ;
91- changelog = "https://github.com/horazont /aioxmpp/blob/${ src . rev } /docs/api/changelog.rst" ;
98+ homepage = "https://codeberg.org/jssfr /aioxmpp" ;
99+ changelog = "https://codeberg.org/jssfr /aioxmpp/blob/${ src . rev } /docs/api/changelog.rst" ;
92100 license = lib . licenses . lgpl3Plus ;
93101 maintainers = with lib . maintainers ; [ dotlambda ] ;
94102 } ;
You can’t perform that action at this time.
0 commit comments