2017-08-24 20:34:20 +03:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2017-05-07 13:55:45 +03:00
|
|
|
, oauthlib, requests }:
|
2017-01-13 18:27:27 +03:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 15:24:47 +03:00
|
|
|
version = "0.8.0";
|
2017-05-27 12:25:35 +03:00
|
|
|
pname = "requests-oauthlib";
|
|
|
|
name = "${pname}-${version}";
|
2017-01-13 18:27:27 +03:00
|
|
|
|
2017-08-24 20:34:20 +03:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-09-01 20:21:27 +03:00
|
|
|
sha256 = "0s7lh5q661gjza1czlmibkrwf8dcj9qfqm3hs39sdbbyflbc8fl8";
|
2017-01-13 18:27:27 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # Internet tests fail when building in chroot
|
2017-05-07 13:55:45 +03:00
|
|
|
propagatedBuildInputs = [ oauthlib requests ];
|
2017-01-13 18:27:27 +03:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "OAuthlib authentication support for Requests";
|
|
|
|
homepage = https://github.com/requests/requests-oauthlib;
|
|
|
|
maintainers = with maintainers; [ prikhi ];
|
|
|
|
};
|
|
|
|
}
|