Unverified Commit 9f6bce3c authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.requests-ratelimiter: migrate to finalAttrs

parent b8a264a8
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
  requests-cache,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "requests-ratelimiter";
  version = "0.9.2";
  pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "JWCook";
    repo = "requests-ratelimiter";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-6Uw6JPArOzKD7va6mthumCDW/G0Yn/C1d+1VflrJ/JY=";
  };

@@ -42,8 +42,8 @@ buildPythonPackage rec {
    broken = lib.versionOlder pyrate-limiter.version "4";
    description = "Module for rate-limiting for requests";
    homepage = "https://github.com/JWCook/requests-ratelimiter";
    changelog = "https://github.com/JWCook/requests-ratelimiter/blob/${src.tag}/HISTORY.md";
    changelog = "https://github.com/JWCook/requests-ratelimiter/blob/${finalAttrs.src.tag}/HISTORY.md";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}
})