chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ne / nekoray / nekoray-core.nix
blob0488bc713e57441dd28388465eca2f907d35d333
2   buildGoModule,
3   version,
4   src,
5   extraSources,
6 }:
8 buildGoModule rec {
9   pname = "nekoray-core";
10   inherit version src;
11   sourceRoot = "${src.name}/go/cmd/nekoray_core";
13   postPatch = ''
14     cp -r --no-preserve=all ${extraSources.libneko} ../../../../libneko
15     cp -r --no-preserve=all ${extraSources.Xray-core} ../../../../Xray-core
16   '';
18   vendorHash = "sha256-gxp5oI7qO+bdSe8Yrb9I4Wkl5TqqZeIhzcQDg1OpRkc=";
20   ldflags = [
21     "-w"
22     "-s"
23     "-X github.com/matsuridayo/libneko/neko_common.Version_neko=${version}"
24     "-X github.com/matsuridayo/libneko/neko_common.Version_v2ray=${extraSources.Xray-core.rev}"
25   ];