depot/third_party/nixpkgs/pkgs/development/python-modules/rapidfuzz-capi/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

28 lines
668 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "rapidfuzz-capi";
version = "1.0.5";
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 ];
};
}