Skip to content

Commit

Permalink
python312Packages.requests-ratelimiter: 0.6.0 -> 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Aug 11, 2024
1 parent 10dc1b2 commit 109351e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions pkgs/development/python-modules/requests-ratelimiter/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,44 @@
fetchFromGitHub,
poetry-core,
pyrate-limiter,
requests,
pytestCheckHook,
pythonOlder,
requests-mock,
requests,
requests-cache,
}:

buildPythonPackage rec {
pname = "requests-ratelimiter";
version = "0.6.0";
version = "0.7.0";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "JWCook";
repo = "requests-ratelimiter";
rev = "refs/tags/v${version}";
hash = "sha256-ctCD+vlV90KCO7DdPUZJipBC/lz6NXx0gYuHHrs22IY=";
hash = "sha256-DS4BzS8AD4axniyV6jVYXWZ6cQLvMPp8tdGoBhYu51o=";
};

nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];

propagatedBuildInputs = [
dependencies = [
pyrate-limiter
requests
];

nativeCheckInputs = [
pytestCheckHook
requests-cache
requests-mock
];

pythonImportsCheck = [ "requests_ratelimiter" ];

meta = with lib; {
description = "Easy rate-limiting for python requests";
description = "Module for rate-limiting for requests";
homepage = "https://github.com/JWCook/requests-ratelimiter";
changelog = "https://github.com/JWCook/requests-ratelimiter/blob/${src.rev}/HISTORY.md";
license = licenses.mit;
Expand Down

0 comments on commit 109351e

Please sign in to comment.