mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
python.pkgs.requests-toolbelt: 0.7.1 -> 0.8.0
This commit is contained in:
parent
ac7673e2fa
commit
1bf5fcad24
@ -0,0 +1,32 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, requests
|
||||||
|
, betamax
|
||||||
|
, mock
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "requests-toolbelt";
|
||||||
|
version = "0.8.0";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "f6a531936c6fa4c6cfce1b9c10d5c4f498d16528d2a54a22ca00011205a187b5";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ betamax mock pytest ];
|
||||||
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A toolbelt of useful classes and functions to be used with python-requests";
|
||||||
|
homepage = http://toolbelt.rtfd.org;
|
||||||
|
maintainers = with lib.maintainers; [ matthiasbeyer jgeerds ];
|
||||||
|
};
|
||||||
|
}
|
@ -18430,26 +18430,8 @@ in {
|
|||||||
|
|
||||||
requests_oauthlib = callPackage ../development/python-modules/requests-oauthlib.nix { };
|
requests_oauthlib = callPackage ../development/python-modules/requests-oauthlib.nix { };
|
||||||
|
|
||||||
requests_toolbelt = buildPythonPackage rec {
|
requests-toolbelt = callPackage ../development/python-modules/requests-toolbelt { };
|
||||||
version = "0.7.1";
|
requests_toolbelt = self.requests-toolbelt; # Old attr, 2017-09-26
|
||||||
name = "requests-toolbelt-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://github.com/sigmavirus24/requests-toolbelt/archive/${version}.tar.gz";
|
|
||||||
sha256 = "16grklnbgcfwqj3f39gw7fc9afi7xlp9gm7x8w6mi81dzhdxf50y";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ requests ];
|
|
||||||
|
|
||||||
buildInputs = with self; [ betamax mock pytest ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A toolbelt of useful classes and functions to be used with python-requests";
|
|
||||||
homepage = http://toolbelt.rtfd.org;
|
|
||||||
maintainers = with maintainers; [ matthiasbeyer jgeerds ];
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
retry_decorator = buildPythonPackage rec {
|
retry_decorator = buildPythonPackage rec {
|
||||||
name = "retry_decorator-1.0.0";
|
name = "retry_decorator-1.0.0";
|
||||||
|
Loading…
Reference in New Issue
Block a user