Fix libsodium sha256 (#255)

pull/256/head
yamashi 4 years ago committed by GitHub
parent 3f77f74716
commit 02153f05c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/l/libsodium/xmake.lua

@ -5,14 +5,14 @@ package("libsodium")
if is_plat("windows") then
set_urls("https://download.libsodium.org/libsodium/releases/libsodium-$(version)-stable-msvc.zip")
add_versions("1.0.18", "5d313795d13fc99fb925c4d49c16f1a80779f69e49b58a9a4260bd3b150d45b7")
add_versions("1.0.18", "91a9b6eeb296ecfdf111a6051275dc52dbbfc2774673b18218e98803b96765fb")
elseif is_plat("linux", "macosx") then
add_deps("autoconf", "automake", "libtool", "pkg-config")
set_urls("https://download.libsodium.org/libsodium/releases/libsodium-$(version)-stable.tar.gz")
add_versions("1.0.18", "91441b13c965e241cd64bb42823f1f2d882f08f8f40f1716cda17df2b3450af2")
add_versions("1.0.18", "bc850f28c6909d78c1f40eaff83fafb4d6940a142e72fedb970296ce82f90632")
elseif is_plat("mingw") then
set_urls("https://download.libsodium.org/libsodium/releases/libsodium-$(version)-stable-mingw.tar.gz")
add_versions("1.0.18", "d2f1918e198cd86b9e6ba05b2f5c2dc86753875ea3ee887892767231c6b7e121")
add_versions("1.0.18", "68d67d4566c1eaccf46481e7ec370efc28fd627fb01fde8d164ecf95603200af")
end
on_load(function (package)

Loading…
Cancel
Save