depot/third_party/nixpkgs/pkgs/development/python-modules/weaviate-client/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

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 ];
};
}