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