1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 setuptools-scm,
7}:
8
9buildPythonPackage rec {
10 pname = "fuzzyfinder";
11 version = "2.3.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "amjith";
16 repo = "fuzzyfinder";
17 tag = "v${version}";
18 hash = "sha256-Zqh2H2d2TCxErmEE9gQwdpzZBGsjeQIo3AxBsc+C5u0=";
19 };
20
21 build-system = [ setuptools-scm ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "fuzzyfinder" ];
26
27 meta = with lib; {
28 changelog = "https://github.com/amjith/fuzzyfinder/blob/${src.tag}/CHANGELOG.rst";
29 description = "Fuzzy Finder implemented in Python";
30 homepage = "https://github.com/amjith/fuzzyfinder";
31 license = licenses.bsd3;
32 maintainers = with maintainers; [ dotlambda ];
33 };
34}