nixpkgs/pkgs/development/python-modules/weaviate-client/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
741 B
Nix
Raw Normal View History

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