Skip to content

Commit bf14956

Browse files
authored
python312Packages.levenshtein: 0.26.0 -> 0.27.0 (NixOS#373668)
2 parents db64119 + c0954a8 commit bf14956

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed
Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
11
{
22
lib,
33
buildPythonPackage,
4+
fetchFromGitHub,
45
cmake,
56
cython,
6-
fetchFromGitHub,
77
ninja,
8-
pytestCheckHook,
9-
pythonOlder,
10-
rapidfuzz,
11-
rapidfuzz-cpp,
128
scikit-build-core,
9+
rapidfuzz-cpp,
10+
rapidfuzz,
11+
pytestCheckHook,
1312
}:
1413

1514
buildPythonPackage rec {
1615
pname = "levenshtein";
17-
version = "0.26.0";
16+
version = "0.27.0";
1817
pyproject = true;
1918

20-
disabled = pythonOlder "3.9";
21-
2219
src = fetchFromGitHub {
2320
owner = "maxbachmann";
2421
repo = "Levenshtein";
2522
tag = "v${version}";
26-
hash = "sha256-uLOOAmJ8Y0z+tuIIOSnI8qZoZ+IA2+tNBX1lDCvc8+A=";
23+
hash = "sha256-kiYu46qv8sBBcPoCo3PN1q9F0EJ1s5hAMKavPaztM4s=";
2724
fetchSubmodules = true; # # for vendored `rapidfuzz-cpp`
2825
};
2926

@@ -44,11 +41,11 @@ buildPythonPackage rec {
4441

4542
pythonImportsCheck = [ "Levenshtein" ];
4643

47-
meta = with lib; {
44+
meta = {
4845
description = "Functions for fast computation of Levenshtein distance and string similarity";
4946
homepage = "https://github.com/maxbachmann/Levenshtein";
50-
changelog = "https://github.com/maxbachmann/Levenshtein/blob/${src.rev}/HISTORY.md";
51-
license = licenses.gpl2Plus;
52-
maintainers = with maintainers; [ fab ];
47+
changelog = "https://github.com/maxbachmann/Levenshtein/blob/v${version}/HISTORY.md";
48+
license = lib.licenses.gpl2Plus;
49+
maintainers = with lib.maintainers; [ fab ];
5350
};
5451
}

0 commit comments

Comments
 (0)