Something went wrong. Try again.
lol
Something went wrong. Try again.
934 B · 42 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, setuptools, rapidfuzz, hypothesis, pytestCheckHook,}:
buildPythonPackage rec { pname = "jarowinkler"; version = "2.0.1";
pyproject = true;
src = fetchFromGitHub { owner = "maxbachmann"; repo = "JaroWinkler"; tag = "v${version}"; hash = "sha256-B3upTBNqMyi+CH7Zx04wceEXjGJnr6S3BIl87AQkfbo="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ rapidfuzz ];
nativeCheckInputs = [ hypothesis pytestCheckHook ];
pythonImportsCheck = [ "jarowinkler" ];
meta = { 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 = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; };}