2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-17 18:40:14 +00:00
|
|
|
, 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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-17 18:40:14 +00:00
|
|
|
homepage = "https://github.com/simplegeo/python-oauth2";
|
|
|
|
description = "Library for OAuth version 1.0";
|
|
|
|
license = licenses.mit;
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2018-10-17 18:40:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|