mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
changelog: https://github.com/redis/redis-vl-python/releases/tag/v0.20.0 diff: https://github.com/redis/redis-vl-python/compare/v0.19.0...v0.20.0
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
numpy,
|
|
pyyaml,
|
|
redis,
|
|
pydantic,
|
|
tenacity,
|
|
ml-dtypes,
|
|
python-ulid,
|
|
jsonpath-ng,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "redisvl";
|
|
version = "0.20.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "redis";
|
|
repo = "redis-vl-python";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-qzGK/M2KXVR9FEutA8xQU9bMYWerOFS2BzNtuAW9n0Q=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
numpy
|
|
pyyaml
|
|
redis
|
|
pydantic
|
|
tenacity
|
|
ml-dtypes
|
|
python-ulid
|
|
jsonpath-ng
|
|
];
|
|
|
|
pythonImportsCheck = [ "redisvl" ];
|
|
|
|
# tests require a live Redis server with the search/vector module
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Python client library and CLI for using Redis as a vector database";
|
|
homepage = " https://redisvl.com";
|
|
changelog = "https://github.com/redis/redis-vl-python/releases/tag/v${finalAttrs.version}";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "rvl";
|
|
maintainers = with lib.maintainers; [
|
|
codgician
|
|
hythera
|
|
];
|
|
};
|
|
})
|