biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / servers / search / weaviate / default.nix
blob02d3d61ea0f8892a558c0e9336581079c188b356
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "weaviate";
8   version = "1.24.9";
10   src = fetchFromGitHub {
11     owner = "weaviate";
12     repo = "weaviate";
13     rev = "v${version}";
14     hash = "sha256-fIOTk+h39LHUBWYvGiP2Vzhmcy0xjqprECOzzC3TvQM=";
15   };
17   vendorHash = "sha256-f7LskkQbsPwNmrzLTze0C66y++7Vqtb15tjW142TQmE=";
19   subPackages = [ "cmd/weaviate-server" ];
21   ldflags = [ "-w" "-extldflags" "-static" ];
23   postInstall = ''
24     ln -s $out/bin/weaviate-server $out/bin/weaviate
25   '';
27   meta = with lib; {
28     description = "The ML-first vector search engine";
29     homepage = "https://github.com/semi-technologies/weaviate";
30     license = licenses.bsd3;
31     maintainers = with maintainers; [ dit7ya ];
32   };