2017-01-13 16:27:27 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl
|
2017-05-07 12:55:45 +02:00
|
|
|
, oauthlib, requests }:
|
2017-01-13 16:27:27 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 14:24:47 +02:00
|
|
|
version = "0.8.0";
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "requests-oauthlib";
|
|
|
|
name = "${pname}-${version}";
|
2017-01-13 16:27:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://github.com/requests/requests-oauthlib/archive/v${version}.tar.gz";
|
2017-05-27 14:24:47 +02:00
|
|
|
sha256 = "883ac416757eada6d3d07054ec7092ac21c7f35cb1d2cf82faf205637081f468";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|