sing-geosite.src: 4a32d56c -> bbd9f11bb; unpin Go version
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildGo120Module
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, substituteAll
|
||||
, v2ray-domain-list-community
|
||||
@@ -11,18 +11,18 @@ let
|
||||
geosite_data = "${v2ray-domain-list-community}/share/v2ray/geosite.dat";
|
||||
};
|
||||
in
|
||||
buildGo120Module {
|
||||
buildGoModule {
|
||||
pname = "sing-geosite";
|
||||
inherit (v2ray-domain-list-community) version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SagerNet";
|
||||
repo = "sing-geosite";
|
||||
rev = "4a32d56c1705f77668beb5828df0b0a051efdeb9";
|
||||
hash = "sha256-P/EBcwJI2G9327BNi84R+q6BABx9DEKpN6ETTp8Q4NU=";
|
||||
rev = "bbd9f11bb9245463bf9d5614b74014fe5803b989";
|
||||
hash = "sha256-UQChYKgN5JZk+KZ2c5Ffh/rQi6/TVeFQkbH6mpLx4x8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-uQOmUXT2wd40DwwTCMnFFKd47eu+BPBDjiCGtUNFoKY=";
|
||||
vendorHash = "sha256-C6idJDUp6AFe50tQ+4mmZsxuOKH8JSeC1p7XVRZ224E=";
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e '/func main()/,/^}/d' -e '/"io"/a "io/ioutil"' main.go
|
||||
|
||||
Reference in New Issue
Block a user