v2ray: 4.21.3 -> 4.22.0

This commit is contained in:
Serval 2020-01-01 10:44:07 +08:00
parent b0bbacb521
commit ceeb0ad038
No known key found for this signature in database
GPG Key ID: 4A2AAAA382F8294C

View File

@ -3,20 +3,20 @@
, ... } @ args: , ... } @ args:
callPackage ./generic.nix (rec { callPackage ./generic.nix (rec {
version = "4.21.3"; version = "4.22.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "v2ray"; owner = "v2ray";
repo = "v2ray-core"; repo = "v2ray-core";
rev = "v${version}"; rev = "v${version}";
sha256 = "0z45nrjnalrvpprq7g4zrjbrdkc3d3lhs4ci8hb8m69f92asiwbs"; sha256 = "1gr4s96ii4dx5bcwpb82rn250pcnncxwzx147p9dbwbyiy0i9nz7";
}; };
assets = { assets = {
# MIT licensed # MIT licensed
"geoip.dat" = let "geoip.dat" = let
geoipRev = "20190516.1"; geoipRev = "202001010102";
geoipSha256 = "14h4rq7rlcl1397pwpylfgwpk3fiscpzqb04c4wd5lxkfvk5f02r"; geoipSha256 = "16i73c3852f7zmya0q3856cc4gvhqhpln9s98qvr2dr1mpp72c1w";
in fetchurl { in fetchurl {
url = "https://github.com/v2ray/geoip/releases/download/${geoipRev}/geoip.dat"; url = "https://github.com/v2ray/geoip/releases/download/${geoipRev}/geoip.dat";
sha256 = geoipSha256; sha256 = geoipSha256;
@ -24,8 +24,8 @@ callPackage ./generic.nix (rec {
# MIT licensed # MIT licensed
"geosite.dat" = let "geosite.dat" = let
geositeRev = "20191121.1"; geositeRev = "20191226.1";
geositeSha256 = "0ijmvy43pvm69w38djf114j8swni7wfq5ry9wdpv9dj0rzb59m74"; geositeSha256 = "0b4ji5kj5jpkwri3libxm9yl49dcy91vkl7h1rkhrrhbl17s3qiy";
in fetchurl { in fetchurl {
url = "https://github.com/v2ray/domain-list-community/releases/download/${geositeRev}/dlc.dat"; url = "https://github.com/v2ray/domain-list-community/releases/download/${geositeRev}/dlc.dat";
sha256 = geositeSha256; sha256 = geositeSha256;