2017-08-24 19:34:20 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2017-05-07 12:55:45 +02:00
|
|
|
, oauthlib, requests }:
|
2017-01-13 16:27:27 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-11-11 13:19:00 +01:00
|
|
|
version = "1.3.0";
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "requests-oauthlib";
|
2017-01-13 16:27:27 +01:00
|
|
|
|
2017-08-24 19:34:20 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-11 13:19:00 +01:00
|
|
|
sha256 = "0smaxs5ixng4z0k6dsgmm6s972ka3p6a2ykdpnl23mqzlw0ic9ml";
|
2017-01-13 16:27:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # Internet tests fail when building in chroot
|
2017-05-07 12:55:45 +02:00
|
|
|
propagatedBuildInputs = [ oauthlib requests ];
|
2017-01-13 16:27:27 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "OAuthlib authentication support for Requests";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/requests/requests-oauthlib";
|
2017-01-13 16:27:27 +01:00
|
|
|
maintainers = with maintainers; [ prikhi ];
|
|
|
|
};
|
|
|
|
}
|