From 7230261b3cd2083857e80b96a803bc9f6e99b352 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 14 Oct 2021 17:43:40 +0800 Subject: [PATCH] fix nasm urls (#657) --- packages/n/nasm/xmake.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/n/nasm/xmake.lua b/packages/n/nasm/xmake.lua index a0ed30b70..77044e45c 100644 --- a/packages/n/nasm/xmake.lua +++ b/packages/n/nasm/xmake.lua @@ -7,15 +7,14 @@ package("nasm") if is_host("windows") then if os.arch() == "x64" then - add_urls("https://www.nasm.us/pub/nasm/releasebuilds/$(version)/win64/nasm-$(version)-win64.zip") + add_urls("https://github.com/xmake-mirror/nasm/releases/download/nasm-$(version)/nasm-$(version)-win64.zip") add_versions("2.15.05", "f5c93c146f52b4f1664fa3ce6579f961a910e869ab0dae431bd871bdd2584ef2") else - add_urls("https://www.nasm.us/pub/nasm/releasebuilds/$(version)/win32/nasm-$(version)-win32.zip") + add_urls("https://github.com/xmake-mirror/nasm/releases/download/nasm-$(version)/nasm-$(version)-win32.zip") add_versions("2.15.05", "258c7d1076e435511cf2fdf94e2281eadbdb9e3003fd57f356f446e2bce3119e") end else - add_urls("https://www.nasm.us/pub/nasm/releasebuilds/$(version)/nasm-$(version).tar.xz", - "https://github.com/netwide-assembler/nasm.git") + add_urls("https://github.com/xmake-mirror/nasm/releases/download/nasm-$(version)/nasm-$(version).tar.xz") add_versions("2.13.03", "812ecfb0dcbc5bd409aaa8f61c7de94c5b8752a7b00c632883d15b2ed6452573") add_versions("2.15.05", "3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f") end