python312Packages.pint-xarray: init at 0.4 (#377344)
[NixPkgs.git] / pkgs / development / python-modules / stringzilla / default.nix
blob21d9e79dcaf5e780beddf81a6bac4a16ef4d64ba
2   buildPythonPackage,
3   fetchFromGitHub,
4   lib,
5   numpy,
6   pytest-repeat,
7   pytestCheckHook,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "stringzilla";
13   version = "3.11.3";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "ashvardanian";
18     repo = "stringzilla";
19     tag = "v${version}";
20     hash = "sha256-2qmcjRNjCyErzwto2DqdDU9NX4+hqeibhDM85c81TgU=";
21   };
23   build-system = [
24     setuptools
25   ];
27   pythonImportsCheck = [ "stringzilla" ];
29   nativeCheckInputs = [
30     numpy
31     pytest-repeat
32     pytestCheckHook
33   ];
35   pytestFlagsArray = [ "scripts/test.py" ];
37   meta = {
38     changelog = "https://github.com/ashvardanian/StringZilla/releases/tag/v${version}";
39     description = "SIMD-accelerated string search, sort, hashes, fingerprints, & edit distances";
40     homepage = "https://github.com/ashvardanian/stringzilla";
41     license = lib.licenses.asl20;
42     maintainers = with lib.maintainers; [ dotlambda ];
43   };