python312Packages.simsimd: init at 6.2.1

This commit is contained in:
Robert Schütz
2024-12-08 18:35:48 -08:00
parent 8da14e862a
commit d993c6113d
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,50 @@
{
buildPythonPackage,
fetchFromGitHub,
lib,
numpy,
pytest-repeat,
pytestCheckHook,
setuptools,
tabulate,
}:
buildPythonPackage rec {
pname = "simsimd";
version = "6.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "ashvardanian";
repo = "simsimd";
tag = "v${version}";
hash = "sha256-Poe0NtDPhQ08V8/bMsZrTFDEIKTi5wTII7UBnJn0msw=";
};
build-system = [
setuptools
];
pythonImportsCheck = [
"simsimd"
];
nativeCheckInputs = [
numpy
pytest-repeat
pytestCheckHook
tabulate
];
pytestFlagsArray = [
"scripts/test.py"
];
meta = {
changelog = "https://github.com/ashvardanian/SimSIMD/releases/tag/v${version}";
description = "Portable mixed-precision BLAS-like vector math library for x86 and ARM";
homepage = "https://github.com/ashvardanian/simsimd";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
+2
View File
@@ -14705,6 +14705,8 @@ self: super: with self; {
simpy = callPackage ../development/python-modules/simpy { };
simsimd = callPackage ../development/python-modules/simsimd { };
single-source = callPackage ../development/python-modules/single-source { };
single-version = callPackage ../development/python-modules/single-version { };