From fe13d37c7e1f17c262481931de271ad68aa8fc49 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Mon, 1 Feb 2021 14:01:53 +0100 Subject: [PATCH] pythonPackages.python-levenshtein: 0.12.0 -> 0.12.1 This fixes a potential segfault on 32bit machines when the input string causes some 32 bit size calculations (on size_t) to overflow. See https://github.com/ztane/python-Levenshtein/issues/62 for details. --- .../development/python-modules/python-levenshtein/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-levenshtein/default.nix b/pkgs/development/python-modules/python-levenshtein/default.nix index dda64a85fb2..b4760cef629 100644 --- a/pkgs/development/python-modules/python-levenshtein/default.nix +++ b/pkgs/development/python-modules/python-levenshtein/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "python-Levenshtein"; - version = "0.12.0"; + version = "0.12.1"; src = fetchPypi { inherit pname version; - sha256 = "1c9ybqcja31nghfcc8xxbbz9h60s9qi12b9hr4jyl69xbvg12fh3"; + sha256 = "0489zzjlfgzpc7vggs7s7db13pld2nlnw7iwgdz1f386i0x2fkjm"; }; # No tests included in archive