1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5}: 6 7buildPythonPackage rec { 8 pname = "rapidfuzz-capi"; 9 version = "1.0.5"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "maxbachmann"; 14 repo = "rapidfuzz_capi"; 15 rev = "v${version}"; 16 hash = "sha256-0IvJl2JU/k1WbGPWRoucVGbVsEFNPHZT1ozEQAKQnPk="; 17 }; 18 19 # upstream has no tests 20 doCheck = false; 21 22 pythonImportsCheck = [ "rapidfuzz_capi" ]; 23 24 meta = with lib; { 25 description = "C-API of RapidFuzz, which can be used to extend RapidFuzz from separate packages"; 26 homepage = "https://github.com/maxbachmann/rapidfuzz_capi"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ dotlambda ]; 29 }; 30}