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-02-14 08:37:29 +01:00
|
|
|
version = "1.2.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-02-14 08:37:29 +01:00
|
|
|
sha256 = "bd6533330e8748e94bf0b214775fed487d309b8b8fe823dc45641ebcd9a32f57";
|
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";
|
|
|
|
homepage = https://github.com/requests/requests-oauthlib;
|
|
|
|
maintainers = with maintainers; [ prikhi ];
|
|
|
|
};
|
|
|
|
}
|