···17 sha256 = "9e0d70a1fa6f452584de1cb853ae6c11f41233549f7839cfb879f99410f6ad46";
18 };
1920- # package has no tests
0000000000000021 doCheck = false;
2223- propagatedBuildInputs = [ six pyjwt requests oauthlib requests_oauthlib ];
2425 meta = with lib; {
26- description = "A library designed to provide a simple means to performing an OAuth handshake with a MediaWiki installation with the OAuth Extension installed.";
27- homepage = "https://github.com/mediawiki-utilities/python-mwoauth";
28 license = licenses.mit;
29 maintainers = with maintainers; [ ixxie ];
30 };
···17 sha256 = "9e0d70a1fa6f452584de1cb853ae6c11f41233549f7839cfb879f99410f6ad46";
18 };
1920+ propagatedBuildInputs = [
21+ oauthlib
22+ pyjwt
23+ requests
24+ requests_oauthlib
25+ six
26+ ];
27+28+ postPatch = ''
29+ # https://github.com/mediawiki-utilities/python-mwoauth/pull/43
30+ substituteInPlace setup.py --replace "PyJWT>=1.0.1,<2.0.0" "PyJWT>=1.0.1"
31+ '';
32+33+ # PyPI source has no tests included
34+ # https://github.com/mediawiki-utilities/python-mwoauth/issues/44
35 doCheck = false;
3637+ pythonImportsCheck = [ "mwoauth" ];
3839 meta = with lib; {
40+ description = "Python library to perform OAuth handshakes with a MediaWiki installation";
41+ homepage = "https://github.com/mediawiki-utilities/python-mwoauth";
42 license = licenses.mit;
43 maintainers = with maintainers; [ ixxie ];
44 };