2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2024-09-19 14:19:46 +00:00
|
|
|
fetchFromGitHub,
|
2024-06-05 15:53:02 +00:00
|
|
|
pytestCheckHook,
|
2024-09-19 14:19:46 +00:00
|
|
|
setuptools,
|
2021-02-24 18:30:23 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fuzzyfinder";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "2.2.0";
|
|
|
|
pyproject = true;
|
2021-02-24 18:30:23 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amjith";
|
|
|
|
repo = "fuzzyfinder";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-QWUABljgtzsZONl1klCrxEh0tPYodMOXokEb3YvWsyg=";
|
2021-02-24 18:30:23 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-02-24 18:30:23 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "fuzzyfinder" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-09-19 14:19:46 +00:00
|
|
|
changelog = "https://github.com/amjith/fuzzyfinder/blob/${src.rev}/CHANGELOG.rst";
|
2021-02-24 18:30:23 +00:00
|
|
|
description = "Fuzzy Finder implemented in Python";
|
|
|
|
homepage = "https://github.com/amjith/fuzzyfinder";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|