diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-17 14:40:14 -0400 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2018-10-18 11:02:23 +0200 |
commit | c83ce200af804cd8484619fade241ce6ae0921d7 (patch) | |
tree | 0f9247e96c249930829607e00e01bcd8286d91fa /pkgs/development/python-modules | |
parent | bc1c971ef4215c555545c5900d01a9c57e788f6b (diff) | |
download | nixlib-c83ce200af804cd8484619fade241ce6ae0921d7.tar nixlib-c83ce200af804cd8484619fade241ce6ae0921d7.tar.gz nixlib-c83ce200af804cd8484619fade241ce6ae0921d7.tar.bz2 nixlib-c83ce200af804cd8484619fade241ce6ae0921d7.tar.lz nixlib-c83ce200af804cd8484619fade241ce6ae0921d7.tar.xz nixlib-c83ce200af804cd8484619fade241ce6ae0921d7.tar.zst nixlib-c83ce200af804cd8484619fade241ce6ae0921d7.zip |
pythonPackages.oauth2: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/oauth2/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/oauth2/default.nix b/pkgs/development/python-modules/oauth2/default.nix new file mode 100644 index 000000000000..e01ef7c902d9 --- /dev/null +++ b/pkgs/development/python-modules/oauth2/default.nix @@ -0,0 +1,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; [ garbas ]; + platforms = platforms.linux; + }; + +} |