Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 34 lines 788 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "fuzzyfinder"; 11 version = "2.2.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "amjith"; 16 repo = "fuzzyfinder"; 17 rev = "refs/tags/v${version}"; 18 hash = "sha256-QWUABljgtzsZONl1klCrxEh0tPYodMOXokEb3YvWsyg="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "fuzzyfinder" ]; 26 27 meta = with lib; { 28 changelog = "https://github.com/amjith/fuzzyfinder/blob/${src.rev}/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}