19 buildPythonPackage rec {
24 inherit pname version;
25 sha256 = "8dd4ac612fd60cb277eaf6e2ce02f68dda54aba06870ca6fa2b28369bf39aa14";
28 checkInputs = [ betamax pytest betamax-matchers ]
29 ++ lib.optional (pythonOlder "3") unittest2
30 ++ lib.optional (pythonOlder "3.3") mock;
31 propagatedBuildInputs = [ requests uritemplate dateutil jwcrypto pyopenssl ndg-httpsclient pyasn1 ];
34 sed -i -e 's/unittest2 ==0.5.1/unittest2>=0.5.1/' setup.py
37 # TODO: only disable the tests that require network
41 homepage = "https://github3py.readthedocs.org/en/master/";
42 description = "A wrapper for the GitHub API written in python";
43 license = licenses.bsd3;
44 maintainers = with maintainers; [ pSub ];