diff --git a/pkgs/development/python-modules/fuzzyfinder/default.nix b/pkgs/development/python-modules/fuzzyfinder/default.nix index 7d183d471c73..f5f23158a3d8 100644 --- a/pkgs/development/python-modules/fuzzyfinder/default.nix +++ b/pkgs/development/python-modules/fuzzyfinder/default.nix @@ -1,25 +1,31 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, pytestCheckHook, + setuptools, }: buildPythonPackage rec { pname = "fuzzyfinder"; - version = "2.1.0"; - format = "setuptools"; + version = "2.2.0"; + pyproject = true; - src = fetchPypi { - inherit pname version; - sha256 = "c56d86f110866becad6690c7518f7036c20831c0f82fc87eba8fdb943132f04b"; + src = fetchFromGitHub { + owner = "amjith"; + repo = "fuzzyfinder"; + rev = "refs/tags/v${version}"; + hash = "sha256-QWUABljgtzsZONl1klCrxEh0tPYodMOXokEb3YvWsyg="; }; + build-system = [ setuptools ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "fuzzyfinder" ]; meta = with lib; { + changelog = "https://github.com/amjith/fuzzyfinder/blob/${src.rev}/CHANGELOG.rst"; description = "Fuzzy Finder implemented in Python"; homepage = "https://github.com/amjith/fuzzyfinder"; license = licenses.bsd3;