v2ray: 4.35.1 -> 4.36.2
This commit is contained in:
parent
266dc8c3d0
commit
c70467faa0
|
@ -3,22 +3,22 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.35.1";
|
version = "4.36.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "v2fly";
|
owner = "v2fly";
|
||||||
repo = "v2ray-core";
|
repo = "v2ray-core";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "07fih1hnnv1a4aj6sb63408vqf10bgk74lhqqv63lvm7gaz73srd";
|
sha256 = "1gvzr4kq4klld8m0jv6mizgrx3xj6s2i69kl9vmh5n355bakb7kk";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-+kI9p0lu4PbLe6jhWqTfRYXHFOOrKmY36LzdcQT9BWw=";
|
vendorSha256 = "sha256-8O0xUNIdu3W//LtwiMZlSs1wkpa6Jt+vFkTavz6TBKU=";
|
||||||
|
|
||||||
assets = {
|
assets = {
|
||||||
# MIT licensed
|
# MIT licensed
|
||||||
"geoip.dat" = let
|
"geoip.dat" = let
|
||||||
geoipRev = "202103080146";
|
geoipRev = "202103170314";
|
||||||
geoipSha256 = "1qwmz5fxqqxcjw5jm9dvgpmbin2q69j9wdx4xv3pm8fc47wzx8w5";
|
geoipSha256 = "147kajdhby92yxsvcpa6bpk11ilzvc4nj7rc0h84wp2f0y692kq2";
|
||||||
in fetchurl {
|
in fetchurl {
|
||||||
url = "https://github.com/v2fly/geoip/releases/download/${geoipRev}/geoip.dat";
|
url = "https://github.com/v2fly/geoip/releases/download/${geoipRev}/geoip.dat";
|
||||||
sha256 = geoipSha256;
|
sha256 = geoipSha256;
|
||||||
|
@ -26,8 +26,8 @@ let
|
||||||
|
|
||||||
# MIT licensed
|
# MIT licensed
|
||||||
"geosite.dat" = let
|
"geosite.dat" = let
|
||||||
geositeRev = "20210308021214";
|
geositeRev = "20210317031429";
|
||||||
geositeSha256 = "1fp787wlzdjn2gxx4zmqrqqzqcq4xd10pqx8q919fag0kkzdm23s";
|
geositeSha256 = "0nzd0ll0x7hv75cbh1i3kgmffasi002a8n3mjw22zywj71v2jwmz";
|
||||||
in fetchurl {
|
in fetchurl {
|
||||||
url = "https://github.com/v2fly/domain-list-community/releases/download/${geositeRev}/dlc.dat";
|
url = "https://github.com/v2fly/domain-list-community/releases/download/${geositeRev}/dlc.dat";
|
||||||
sha256 = geositeSha256;
|
sha256 = geositeSha256;
|
||||||
|
|
|
@ -65,7 +65,7 @@ vendorSha256=$(
|
||||||
)
|
)
|
||||||
[[ "$vendorSha256" ]]
|
[[ "$vendorSha256" ]]
|
||||||
sed --in-place \
|
sed --in-place \
|
||||||
-e "s/vendorSha256 = \".*\"/vendorSha256 = \"$vendorSha256\"/" \
|
-e "s#vendorSha256 = \".*\"#vendorSha256 = \"$vendorSha256\"#" \
|
||||||
"$version_nix"
|
"$version_nix"
|
||||||
|
|
||||||
echo "vendorSha256 updated" >&2
|
echo "vendorSha256 updated" >&2
|
||||||
|
|
Loading…
Reference in New Issue