9 src = fetchFromGitHub {
13 hash = "sha256-lScwnmu4hM78Va7Yi5HA0E5f2WQXrZaeqjRYJYxnQ5E=";
16 webui = buildNpmPackage {
20 sourceRoot = "${src.name}/web";
22 npmDepsHash = "sha256-2AjUaEOn2Tj+X4f42SvNq1kX07WxkB1sl5KtGdCjbdw=";
25 CYPRESS_INSTALL_BINARY = 0; # cypress tries to download binaries otherwise
30 mv dist $out/share/zinc-ui
40 cp -r ${webui}/share/zinc-ui web/dist
43 vendorHash = "sha256-SZG5/ISGblpcwwR/HOKxFl9SthXpE+IYS0S+4HYtHos=";
44 subPackages = [ "cmd/zincsearch" ];
49 "-X github.com/zinclabs/zincsearch/pkg/meta.Version=${version}"
53 description = "A lightweight alternative to elasticsearch that requires minimal resources, written in Go";
54 mainProgram = "zincsearch";
55 homepage = "https://zincsearch-docs.zinc.dev/";
56 license = licenses.asl20;
57 maintainers = with maintainers; [ dit7ya ];