2017-08-24 18:34:20 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2017-05-07 11:55:45 +01:00
|
|
|
, oauthlib, requests }:
|
2017-01-13 15:27:27 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 13:24:47 +01:00
|
|
|
version = "0.8.0";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "requests-oauthlib";
|
|
|
|
name = "${pname}-${version}";
|
2017-01-13 15:27:27 +00:00
|
|
|
|
2017-08-24 18:34:20 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-08-26 09:46:31 +01:00
|
|
|
sha256 = "18gg9dwral153c10f8bwhz2dy4nw7c6mws5a2g7gidk3z5xhqy4n";
|
2017-01-13 15:27:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # Internet tests fail when building in chroot
|
2017-05-07 11:55:45 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|