Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / rapidfuzz-capi / default.nix
blob9444b949a5105fd00d68f7c33884bfe315c4e3ca
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 }:
6 buildPythonPackage rec {
7   pname = "rapidfuzz-capi";
8   version = "1.0.5";
9   format = "setuptools";
11   src = fetchFromGitHub {
12     owner = "maxbachmann";
13     repo = "rapidfuzz_capi";
14     rev = "v${version}";
15     hash = "sha256-0IvJl2JU/k1WbGPWRoucVGbVsEFNPHZT1ozEQAKQnPk=";
16   };
18   # upstream has no tests
19   doCheck = false;
21   pythonImportsCheck = [ "rapidfuzz_capi" ];
23   meta = with lib; {
24     description = "C-API of RapidFuzz, which can be used to extend RapidFuzz from separate packages";
25     homepage = "https://github.com/maxbachmann/rapidfuzz_capi";
26     license = licenses.mit;
27     maintainers = with maintainers; [ dotlambda ];
28   };