Unverified Commit 448eda77 authored by phanirithvij's avatar phanirithvij
Browse files

iredis: 1.15.1 -> 1.15.2

parent 92ff527c
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -7,20 +7,21 @@

python3.pkgs.buildPythonApplication rec {
  pname = "iredis";
  version = "1.15.1";
  version = "1.15.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "laixintao";
    repo = "iredis";
    tag = "v${version}";
    hash = "sha256-ZA4q2Z3X9zhzW/TH8aRliVij8UxqDVUamhKcfVxWb/c=";
    hash = "sha256-g/gQb9QOyfa7kyHCUZf/kLZRO5IE8389BUCYz8Sqr8o=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail 'packaging = "^23.0"' 'packaging = "*"' \
      --replace-fail 'wcwidth = "0.1.9"' 'wcwidth = "*"'
      --replace-fail 'wcwidth = "0.1.9"' 'wcwidth = "*"' \
      --replace-fail 'redis = "^5.0.0"' 'redis = "*"'
  '';

  nativeBuildInputs = with python3.pkgs; [