nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 1.1 kB view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 numpy, 6 pytest-repeat, 7 pytestCheckHook, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "stringzilla"; 13 version = "4.6.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "ashvardanian"; 18 repo = "stringzilla"; 19 tag = "v${version}"; 20 hash = "sha256-5WAD5ZpzhdIDv1kUVinc5z91N/tQVScO75kOPC1WWlY="; 21 }; 22 23 build-system = [ 24 setuptools 25 ]; 26 27 pythonImportsCheck = [ "stringzilla" ]; 28 29 nativeCheckInputs = [ 30 numpy 31 pytest-repeat 32 pytestCheckHook 33 ]; 34 35 enabledTestPaths = [ "scripts/test_stringzilla.py" ]; 36 37 disabledTests = [ 38 # test downloads CaseFolding.txt from unicode.org 39 "test_utf8_case_fold_all_codepoints" 40 ]; 41 42 meta = { 43 changelog = "https://github.com/ashvardanian/StringZilla/releases/tag/${src.tag}"; 44 description = "SIMD-accelerated string search, sort, hashes, fingerprints, & edit distances"; 45 homepage = "https://github.com/ashvardanian/stringzilla"; 46 license = lib.licenses.asl20; 47 maintainers = with lib.maintainers; [ 48 aciceri 49 dotlambda 50 ]; 51 }; 52}