github3.py: init at 1.0.0a2

+30
+30
pkgs/top-level/python-packages.nix
··· 8225 }; 8226 }; 8227 8228 goobook = buildPythonPackage rec { 8229 name = "goobook-1.9"; 8230 disabled = isPy3k;
··· 8225 }; 8226 }; 8227 8228 + github3_py = buildPythonPackage rec { 8229 + name = "github3.py-${version}"; 8230 + version = "1.0.0a2"; 8231 + 8232 + src = pkgs.fetchurl { 8233 + url = "https://pypi.python.org/packages/source/g/github3.py/${name}.tar.gz"; 8234 + sha256 = "11xvwbzfy04vwbjnpc8wcrjjzghbrbdzffrdfk70v0zdnxqg8hc5"; 8235 + }; 8236 + 8237 + buildInputs = with self; [ unittest2 pytest mock betamax betamax-matchers ]; 8238 + 8239 + propagatedBuildInputs = with self; [ requests2 pyopenssl uritemplate_py 8240 + ndg-httpsclient requests_toolbelt pyasn1 ]; 8241 + 8242 + postPatch = '' 8243 + sed -i -e 's/mock ==1.0.1/mock>=1.0.1/' setup.py 8244 + sed -i -e 's/unittest2 ==0.5.1/unittest2>=0.5.1/' setup.py 8245 + ''; 8246 + 8247 + # TODO: only disable the tests that require network 8248 + doCheck = false; 8249 + 8250 + meta = with stdenv.lib; { 8251 + homepage = http://github3py.readthedocs.org/en/master/; 8252 + description = "A wrapper for the GitHub API written in python"; 8253 + license = licenses.bsd3; 8254 + maintainers = with maintainers; [ pSub ]; 8255 + }; 8256 + }; 8257 + 8258 goobook = buildPythonPackage rec { 8259 name = "goobook-1.9"; 8260 disabled = isPy3k;