Unverified Commit 1030af58 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

conkeyscan: pin pyrate-limiter at 2.10.0

The requests-ratelimiter package is lagging behind.
parent 430fd9dc
Loading
Loading
Loading
Loading
+21 −3
Original line number Diff line number Diff line
@@ -4,7 +4,25 @@
  fetchFromGitHub,
}:

python3.pkgs.buildPythonApplication rec {
let
  python = python3.override {
    self = python3;
    packageOverrides = self: super: {
      pyrate-limiter = super.pyrate-limiter.overridePythonAttrs (oldAttrs: rec {
        version = "2.10.0";
        src = fetchFromGitHub {
          inherit (oldAttrs.src) owner repo;
          tag = "v${version}";
          hash = "sha256-CPusPeyTS+QyWiMHsU0ii9ZxPuizsqv0wQy3uicrDw0=";
        };
        doCheck = false;
      });
    };
  };

in

python.pkgs.buildPythonApplication rec {
  pname = "conkeyscan";
  version = "1.1.0";
  pyproject = true;
@@ -21,9 +39,9 @@ python3.pkgs.buildPythonApplication rec {
      --replace-fail "{{VERSION_PLACEHOLDER}}" "${version}"
  '';

  build-system = with python3.pkgs; [ setuptools ];
  build-system = with python.pkgs; [ setuptools ];

  dependencies = with python3.pkgs; [
  dependencies = with python.pkgs; [
    atlassian-python-api
    beautifulsoup4
    clize