blob: 9069f0f539a0787df49d9eb3fa4e3f4bcae32047 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
buildPythonPackage,
fetchFromGitHub,
lib,
numpy,
pytest-repeat,
pytestCheckHook,
setuptools,
tabulate,
}:
buildPythonPackage rec {
pname = "simsimd";
version = "6.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "ashvardanian";
repo = "simsimd";
tag = "v${version}";
hash = "sha256-4t3uCxQG0zSa2JLKE1d2G3OQLr+8E3ZDNnTf9LAYXsk=";
};
build-system = [
setuptools
];
pythonImportsCheck = [
"simsimd"
];
nativeCheckInputs = [
numpy
pytest-repeat
pytestCheckHook
tabulate
];
pytestFlagsArray = [
"scripts/test.py"
];
meta = {
changelog = "https://github.com/ashvardanian/SimSIMD/releases/tag/${src.tag}";
description = "Portable mixed-precision BLAS-like vector math library for x86 and ARM";
homepage = "https://github.com/ashvardanian/simsimd";
license = with lib.licenses; [
asl20
# or
bsd3
];
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|