summary refs log tree commit diff
path: root/pkgs/development/python-modules/oauth2/default.nix
blob: 8233b132344f684ac05657d2364697593c811cfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ stdenv
, buildPythonPackage
, fetchPypi
, httplib2
, mock
, coverage
}:

buildPythonPackage rec {
  pname = "oauth2";
  version = "1.9.0.post1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "c006a85e7c60107c7cc6da1b184b5c719f6dd7202098196dfa6e55df669b59bf";
  };

  propagatedBuildInputs = [ httplib2 ];
  buildInputs = [ mock coverage ];

  # ServerNotFoundError: Unable to find the server at oauth-sandbox.sevengoslings.net
  doCheck = false;

  meta = with stdenv.lib; {
    homepage = "https://github.com/simplegeo/python-oauth2";
    description = "Library for OAuth version 1.0";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
    platforms = platforms.unix;
  };

}