forked from mirrors/nixpkgs
pythonPackages.requests_oauthlib: 0.4.1 -> 0.7.0
This commit is contained in:
parent
14a65c5ecd
commit
c6c5ed15ab
21
pkgs/development/python-modules/requests-oauthlib.nix
Normal file
21
pkgs/development/python-modules/requests-oauthlib.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, buildPythonPackage, fetchurl
|
||||
, oauthlib, requests2 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.7.0";
|
||||
name = "requests-oauthlib-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://github.com/requests/requests-oauthlib/archive/v${version}.tar.gz";
|
||||
sha256 = "0cdn45k7qla0qwha0rm9pk9bcfhghvmqrdsphs73irs2rzk5cp2j";
|
||||
};
|
||||
|
||||
doCheck = false; # Internet tests fail when building in chroot
|
||||
propagatedBuildInputs = [ oauthlib requests2 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "OAuthlib authentication support for Requests";
|
||||
homepage = https://github.com/requests/requests-oauthlib;
|
||||
maintainers = with maintainers; [ prikhi ];
|
||||
};
|
||||
}
|
|
@ -22095,24 +22095,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
requests_oauthlib = buildPythonPackage rec {
|
||||
version = "0.4.1";
|
||||
name = "requests-oauthlib-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://github.com/requests/requests-oauthlib/archive/v${version}.tar.gz";
|
||||
sha256 = "0vx252nzq5h9m9brwnw2ph8aj526y26jr2dqcafzzcdx6z4l8vj4";
|
||||
};
|
||||
|
||||
doCheck = false; # Internet tests fail when building in chroot
|
||||
propagatedBuildInputs = with self; [ oauthlib requests2 ];
|
||||
|
||||
meta = {
|
||||
description = "OAuthlib authentication support for Requests";
|
||||
homepage = https://github.com/requests/requests-oauthlib;
|
||||
maintainers = with maintainers; [ prikhi ];
|
||||
};
|
||||
};
|
||||
requests_oauthlib = callPackage ../development/python-modules/requests-oauthlib.nix { };
|
||||
|
||||
requests_toolbelt = buildPythonPackage rec {
|
||||
version = "0.6.2";
|
||||
|
|
Loading…
Reference in a new issue