biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / jarowinkler / default.nix
bloba14d2341dad5c2257181e94a9d9f745f9e98b3dc
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   setuptools,
7   rapidfuzz,
8   hypothesis,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "jarowinkler";
14   version = "2.0.1";
16   disabled = pythonOlder "3.8";
18   pyproject = true;
20   src = fetchFromGitHub {
21     owner = "maxbachmann";
22     repo = "JaroWinkler";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-B3upTBNqMyi+CH7Zx04wceEXjGJnr6S3BIl87AQkfbo=";
25   };
27   nativeBuildInputs = [ setuptools ];
29   propagatedBuildInputs = [ rapidfuzz ];
31   nativeCheckInputs = [
32     hypothesis
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [ "jarowinkler" ];
38   meta = with lib; {
39     description = "Library for fast approximate string matching using Jaro and Jaro-Winkler similarity";
40     homepage = "https://github.com/maxbachmann/JaroWinkler";
41     changelog = "https://github.com/maxbachmann/JaroWinkler/blob/${src.rev}/CHANGELOG.md";
42     license = licenses.mit;
43     maintainers = with maintainers; [ dotlambda ];
44   };