Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
984 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, setuptools, rapidfuzz, hypothesis, pytestCheckHook,}:
buildPythonPackage rec { pname = "jarowinkler"; version = "2.0.1";
disabled = pythonOlder "3.8";
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 = 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 ]; };}