Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 httplib2, 6 mock, 7 coverage, 8}: 9 10buildPythonPackage rec { 11 pname = "oauth2"; 12 version = "1.9.0.post1"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "c006a85e7c60107c7cc6da1b184b5c719f6dd7202098196dfa6e55df669b59bf"; 18 }; 19 20 propagatedBuildInputs = [ httplib2 ]; 21 buildInputs = [ 22 mock 23 coverage 24 ]; 25 26 # ServerNotFoundError: Unable to find the server at oauth-sandbox.sevengoslings.net 27 doCheck = false; 28 29 meta = with lib; { 30 homepage = "https://github.com/simplegeo/python-oauth2"; 31 description = "Library for OAuth version 1.0"; 32 license = licenses.mit; 33 maintainers = [ ]; 34 platforms = platforms.unix; 35 }; 36}