depot/third_party/nixpkgs/pkgs/development/python-modules/rapidfuzz-capi/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

30 lines
698 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "rapidfuzz-capi";
version = "1.0.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "maxbachmann";
repo = "rapidfuzz_capi";
rev = "v${version}";
hash = "sha256-0IvJl2JU/k1WbGPWRoucVGbVsEFNPHZT1ozEQAKQnPk=";
};
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "rapidfuzz_capi" ];
meta = with lib; {
description = "C-API of RapidFuzz, which can be used to extend RapidFuzz from separate packages";
homepage = "https://github.com/maxbachmann/rapidfuzz_capi";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}