mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
28 lines
741 B
Nix
28 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 ];
|
||
|
};
|
||
|
}
|