pythonPackages.requests_oauth2: refactors dependencies

This commit is contained in:
Igor Sharonov 2016-11-04 11:55:47 +03:00
parent 83c1e8a020
commit a43f24cb4f

View File

@ -21702,13 +21702,17 @@ in {
requests_oauth2 = buildPythonPackage rec { requests_oauth2 = buildPythonPackage rec {
name = "requests-oauth2-0.1.1"; name = "requests-oauth2-0.1.1";
# python3 does not support relative imports
disabled = isPy3k;
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = https://github.com/maraujop/requests-oauth2/archive/0.1.1.tar.gz; url = https://github.com/maraujop/requests-oauth2/archive/0.1.1.tar.gz;
sha256 = "1aij66qg9j5j4vzyh64nbg72y7pcafgjddxsi865racsay43xfqg"; sha256 = "1aij66qg9j5j4vzyh64nbg72y7pcafgjddxsi865racsay43xfqg";
}; };
propagatedBuildInputs = with self; [ requests_oauthlib ]; propagatedBuildInputs = with self; [ requests2 ];
# no tests in tarball
doCheck = false;
meta = { meta = {
description = "Python's Requests OAuth2 (Open Authentication) plugin"; description = "Python's Requests OAuth2 (Open Authentication) plugin";