{ lib , buildGoModule , fetchFromGitHub }: buildGoModule rec { pname = "weaviate"; version = "1.20.5"; src = fetchFromGitHub { owner = "weaviate"; repo = "weaviate"; rev = "v${version}"; hash = "sha256-aQY1kwMdZ8aDj3YSK3g88coHqTSIZDxDJJdZSwPhDSU="; }; vendorHash = "sha256-RL18glau8IODHy0HqLq28nE7OIUezWDJY7BE/OBFHBw="; 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 ]; }; }