2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
httplib2,
|
|
|
|
mock,
|
|
|
|
coverage,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "oauth2";
|
|
|
|
version = "1.9.0.post1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "c006a85e7c60107c7cc6da1b184b5c719f6dd7202098196dfa6e55df669b59bf";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ httplib2 ];
|
2024-06-05 15:53:02 +00:00
|
|
|
buildInputs = [
|
|
|
|
mock
|
|
|
|
coverage
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# ServerNotFoundError: Unable to find the server at oauth-sandbox.sevengoslings.net
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/simplegeo/python-oauth2";
|
|
|
|
description = "Library for OAuth version 1.0";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|