2017-08-24 17:34:20 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2017-05-07 10:55:45 +00:00
|
|
|
, oauthlib, requests }:
|
2017-01-13 15:27:27 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-02-14 07:37:29 +00:00
|
|
|
version = "1.2.0";
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "requests-oauthlib";
|
2017-01-13 15:27:27 +00:00
|
|
|
|
2017-08-24 17:34:20 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:29 +00:00
|
|
|
sha256 = "bd6533330e8748e94bf0b214775fed487d309b8b8fe823dc45641ebcd9a32f57";
|
2017-01-13 15:27:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # Internet tests fail when building in chroot
|
2017-05-07 10:55:45 +00:00
|
|
|
propagatedBuildInputs = [ oauthlib requests ];
|
2017-01-13 15:27:27 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "OAuthlib authentication support for Requests";
|
|
|
|
homepage = https://github.com/requests/requests-oauthlib;
|
|
|
|
maintainers = with maintainers; [ prikhi ];
|
|
|
|
};
|
|
|
|
}
|