{ lib , buildGoModule , fetchFromGitHub }: buildGoModule rec { pname = "weaviate"; version = "1.25.2"; src = fetchFromGitHub { owner = "weaviate"; repo = "weaviate"; rev = "v${version}"; hash = "sha256-fN0tlu6zhSy6SiFX+f38TL8ciJHYfKZXVYeJp2HgRIA="; }; vendorHash = "sha256-4QSc4dU1bEpKpiG7FwSq/BbnFL94DqgjQo6zN67d8Sw="; subPackages = [ "cmd/weaviate-server" ]; ldflags = [ "-w" "-extldflags" "-static" ]; postInstall = '' ln -s $out/bin/weaviate-server $out/bin/weaviate ''; meta = with lib; { description = "The ML-first vector search engine"; homepage = "https://github.com/semi-technologies/weaviate"; license = licenses.bsd3; maintainers = with maintainers; [ dit7ya ]; }; }