87f9c27ba9
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
27 lines
741 B
Nix
27 lines
741 B
Nix
{ lib, buildPythonPackage, fetchPypi, authlib, tqdm, validators }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "weaviate-client";
|
|
version = "3.15.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-XmHr/+++32KwdR195WL/1ThHF8juat/KTqbrFQ0BLhw=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.cfg \
|
|
--replace "validators>=0.18.2,<0.20.0" "validators>=0.18.2,<0.21.0"
|
|
'';
|
|
|
|
propagatedBuildInputs = [ authlib tqdm validators ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/weaviate/weaviate-python-client";
|
|
description = "A python native client for easy interaction with a Weaviate instance.";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ happysalada ];
|
|
};
|
|
}
|