Merge pull request #179093 from dotlambda/rapidfuzz-2.0.15
This commit is contained in:
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jarowinkler-cpp";
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxbachmann";
|
||||
repo = "jarowinkler-cpp";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3/x0fyaDJTouBKbif0ALgMzht6HMEGHNw8g8zQlUcNk=";
|
||||
hash = "sha256-GuwDSCYTfSwqTnzZSft3ufVSKL7255lVvbJhBxKxjJw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Fast Jaro and Jaro-Winkler distance";
|
||||
homepage = "https://github.com/maxbachmann/jarowinkler-cpp";
|
||||
changelog = "https://github.com/maxbachmann/jarowinkler-cpp/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
platforms = lib.platforms.unix;
|
||||
|
||||
@@ -7,24 +7,19 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rapidfuzz-cpp";
|
||||
version = "1.0.2";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxbachmann";
|
||||
repo = "rapidfuzz-cpp";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Tf7nEMXiem21cvQHPnYnCvOOLg0KBBnNQDaYIcHcm2g=";
|
||||
hash = "sha256-8SJU+ERFRGkbGBmGJa5Ypetc3LPeytg5pR4S29RkvR8=";
|
||||
};
|
||||
|
||||
patches = lib.optionals doCheck [
|
||||
patches = [
|
||||
./dont-fetch-project-options.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace test/CMakeLists.txt \
|
||||
--replace WARNINGS_AS_ERRORS ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
@@ -42,6 +37,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Rapid fuzzy string matching in C++ using the Levenshtein Distance";
|
||||
homepage = "https://github.com/maxbachmann/rapidfuzz-cpp";
|
||||
changelog = "https://github.com/maxbachmann/rapidfuzz-cpp/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
platforms = lib.platforms.unix;
|
||||
|
||||
@@ -3,32 +3,42 @@
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, ninja
|
||||
, cython
|
||||
, rapidfuzz-capi
|
||||
, scikit-build
|
||||
, setuptools
|
||||
, jarowinkler-cpp
|
||||
, hypothesis
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jarowinkler";
|
||||
version = "1.0.2";
|
||||
version = "1.0.4";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxbachmann";
|
||||
repo = "JaroWinkler";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-zVAcV6xxqyfXRUcyWo9PcOdagcexJc/D5k4g5ag3hbY=";
|
||||
hash = "sha256-2bhKl7l3ByfrtkXnXifQd/AhWVFGSMzULkzJftd1mVE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
cython
|
||||
ninja
|
||||
rapidfuzz-capi
|
||||
scikit-build
|
||||
setuptools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
jarowinkler-cpp
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
@@ -48,6 +58,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Library for fast approximate string matching using Jaro and Jaro-Winkler similarity";
|
||||
homepage = "https://github.com/maxbachmann/JaroWinkler";
|
||||
changelog = "https://github.com/maxbachmann/JaroWinkler/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
, ninja
|
||||
, rapidfuzz-capi
|
||||
, scikit-build
|
||||
, setuptools
|
||||
, jarowinkler
|
||||
, numpy
|
||||
, hypothesis
|
||||
@@ -19,15 +20,17 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rapidfuzz";
|
||||
version = "2.0.11";
|
||||
version = "2.0.15";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxbachmann";
|
||||
repo = "RapidFuzz";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-npmdnUMrmbHgUgqMxKBytgtL1weWw6BjVNmBkYSKNMw=";
|
||||
hash = "sha256-wn77gA6UCgsdDf3FZgjrA5gSWpWJg3YoUhx88X7aVcM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -36,6 +39,7 @@ buildPythonPackage rec {
|
||||
ninja
|
||||
rapidfuzz-capi
|
||||
scikit-build
|
||||
setuptools
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
@@ -72,6 +76,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Rapid fuzzy string matching";
|
||||
homepage = "https://github.com/maxbachmann/RapidFuzz";
|
||||
changelog = "https://github.com/maxbachmann/RapidFuzz/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user