3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.rapidfuzz-capi: init at 1.0.5

This commit is contained in:
Robert Schütz 2022-04-14 03:19:34 +00:00 committed by Martin Weinelt
parent cd3b084c17
commit c2eae2011c
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ 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 ];
};
}

View file

@ -8664,6 +8664,8 @@ in {
rapidfuzz = callPackage ../development/python-modules/rapidfuzz { };
rapidfuzz-capi = callPackage ../development/python-modules/rapidfuzz-capi { };
rarfile = callPackage ../development/python-modules/rarfile {
inherit (pkgs) libarchive;
};