v2ray-domain-list-community: 20260122141558 -> 20260129053508 (#485094)
This commit is contained in:
@@ -9,12 +9,12 @@
|
||||
let
|
||||
generator = pkgsBuildBuild.buildGoModule rec {
|
||||
pname = "v2ray-domain-list-community";
|
||||
version = "20260122141558";
|
||||
version = "20260129053508";
|
||||
src = fetchFromGitHub {
|
||||
owner = "v2fly";
|
||||
repo = "domain-list-community";
|
||||
rev = version;
|
||||
hash = "sha256-MmtAA+SR8a6glzAuKaqH3z/cqKlYUQNRzymtPlOrbcg=";
|
||||
hash = "sha256-Nm9LmAgJQwlRit2oreWyTymbu1PZjTpu2LH5twU0X6o=";
|
||||
};
|
||||
vendorHash = "sha256-9tXv+rDBowxDN9gH4zHCr4TRbic4kijco3Y6bojJKRk=";
|
||||
meta = {
|
||||
@@ -35,11 +35,13 @@ stdenv.mkDerivation {
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
${generator}/bin/domain-list-community -datapath $src/data
|
||||
${generator}/bin/datdump --inputdata=dlc.dat --exportlists=_all_
|
||||
runHook postBuild
|
||||
'';
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm644 dlc.dat $out/share/v2ray/geosite.dat
|
||||
install -Dm644 dlc.dat $out/share/v2ray/geosite.dat
|
||||
install -Dm644 dlc.dat_plain.yml $out/share/v2ray/geosite.dat_plain.yml
|
||||
runHook postInstall
|
||||
'';
|
||||
passthru = {
|
||||
|
||||
Reference in New Issue
Block a user