nixpkgs/pkgs/development/python-modules/requests-oauthlib.nix

23 lines
630 B
Nix
Raw Normal View History

2017-08-24 18:34:20 +01:00
{ stdenv, buildPythonPackage, fetchPypi
, oauthlib, requests }:
buildPythonPackage rec {
version = "0.8.0";
pname = "requests-oauthlib";
name = "${pname}-${version}";
2017-08-24 18:34:20 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "18gg9dwral153c10f8bwhz2dy4nw7c6mws5a2g7gidk3z5xhqy4n";
};
doCheck = false; # Internet tests fail when building in chroot
propagatedBuildInputs = [ oauthlib requests ];
meta = with stdenv.lib; {
description = "OAuthlib authentication support for Requests";
homepage = https://github.com/requests/requests-oauthlib;
maintainers = with maintainers; [ prikhi ];
};
}