chore: use nimble.lock

This commit is contained in:
darshankabariya 2026-01-05 17:28:26 +05:30
parent cc1f4575c0
commit 9d1786e3da
No known key found for this signature in database
GPG Key ID: 9A92CCD9899F0D22
2 changed files with 41 additions and 36 deletions

View File

@ -122,3 +122,8 @@ if defined(android):
switch("passC", "--sysroot=" & sysRoot)
switch("passL", "--sysroot=" & sysRoot)
switch("cincludes", sysRoot & "/usr/include/")
# begin Nimble config (version 2)
--noNimblePath
when withDir(thisDir(), system.fileExists("nimble.paths")):
include "nimble.paths"
# end Nimble config

View File

@ -13,45 +13,45 @@ license = "MIT or Apache License 2.0"
### Dependencies
requires "nim >= 2.2.4"
# Pure Nim packages - pinned to exact commits via Nimble
requires "https://github.com/status-im/nim-chronicles#54f5b726025e8c7385e3a6529d3aa27454c6e6ff"
requires "https://github.com/status-im/nim-chronos#0646c444fce7c7ed08ef6f2c9a7abfd172ffe655"
requires "https://github.com/status-im/nim-confutils#e214b3992a31acece6a9aada7d0a1ad37c928f3b"
requires "https://github.com/status-im/nim-dnsdisc#203abd2b3e758e0ea3ae325769b20a7e1bcd1010"
requires "https://github.com/status-im/nim-faststreams#c3ac3f639ed1d62f59d3077d376a29c63ac9750c"
requires "https://github.com/status-im/nim-http-utils#79cbab1460f4c0cdde2084589d017c43a3d7b4f1"
requires "https://github.com/status-im/nim-json-rpc#9665c265035f49f5ff94bbffdeadde68e19d6221"
requires "https://github.com/status-im/nim-json-serialization#b65fd6a7e64c864dabe40e7dfd6c7d07db0014ac"
requires "https://github.com/status-im/nim-serialization#6f525d5447d97256750ca7856faead03e562ed20"
requires "https://github.com/status-im/nim-stew#e5740014961438610d336cd81706582dbf2c96f0"
requires "https://github.com/status-im/nim-stint#470b7892561b5179ab20bd389a69217d6213fe58"
requires "https://github.com/status-im/nim-metrics#ecf64c6078d1276d3b7d9b3d931fbdb70004db11"
requires "https://github.com/status-im/nim-presto#92b1c7ff141e6920e1f8a98a14c35c1fa098e3be"
requires "https://github.com/status-im/nim-taskpools#9e8ccc754631ac55ac2fd495e167e74e86293edb"
requires "https://github.com/status-im/nim-testutils#94d68e796c045d5b37cabc6be32d7bfa168f8857"
requires "https://github.com/status-im/nim-unittest2#8b51e99b4a57fcfb31689230e75595f024543024"
requires "https://github.com/status-im/nim-websock#ebe308a79a7b440a11dfbe74f352be86a3883508"
requires "https://github.com/status-im/nim-zlib#daa8723fd32299d4ca621c837430c29a5a11e19a"
requires "https://github.com/status-im/nim-toml-serialization#f3480570566b00a9f7ed1abf1f9731fb856ae1f2"
requires "https://github.com/status-im/nim-minilru#0c4b2bce959591f0a862e9b541ba43c6d0cf3476"
requires "https://github.com/nitely/nim-regex#4593305ed1e49731fc75af1dc572dd2559aad19c"
requires "https://github.com/nitely/nim-unicodedb#66f2458710dc641dd4640368f9483c8a0ec70561"
requires "https://github.com/arnetheduck/nim-results#df8113dda4c2d74d460a8fa98252b0b771bf1f27"
requires "https://github.com/cheatfate/nimcrypto#721fb99ee099b632eb86dfad1f0d96ee87583774"
requires "https://github.com/nim-lang/db_connector#74aef399e5c232f95c9fc5c987cebac846f09d62"
requires "https://github.com/ba0f3/dnsclient.nim#23214235d4784d24aceed99bbfe153379ea557c8"
# Pure Nim packages - use flexible version requirements
# Exact versions are locked via nimble.lock for reproducible builds
requires "chronicles"
requires "chronos"
requires "confutils"
requires "dnsdisc"
requires "faststreams"
requires "httputils"
requires "json_rpc"
requires "json_serialization"
requires "serialization"
requires "stew"
requires "stint"
requires "metrics"
requires "presto"
requires "taskpools"
requires "testutils"
requires "unittest2"
requires "websock"
requires "zlib"
requires "toml_serialization"
requires "minilru"
requires "regex"
requires "unicodedb"
requires "results"
requires "nimcrypto"
requires "db_connector"
requires "dnsclient"
# Complex packages with native dependencies - pinned via Nimble
# These have C/Rust code but Nimble can still fetch them
requires "https://github.com/status-im/nim-eth#d9135e6c3c5d6d819afdfb566aa8d958756b73a8"
requires "https://github.com/vacp2p/nim-libp2p#e82080f7b1aa61c6d35fa5311b873f41eff4bb52"
requires "https://github.com/status-im/nim-web3#81ee8ce479d86acb73be7c4f365328e238d9b4a3"
# Packages with native dependencies
requires "eth"
requires "libp2p"
requires "web3"
# nim-libbacktrace removed - optional dependency with build issues in Nimble
# If needed, enable with USE_LIBBACKTRACE=1 and install manually
requires "https://github.com/status-im/nim-bearssl#11e798b62b8e6beabe958e048e9e24c7e0f9ee63"
requires "https://github.com/status-im/nim-secp256k1#9dd3df62124aae79d564da636bb22627c53c7676"
requires "https://github.com/status-im/nim-nat-traversal#860e18c37667b5dd005b94c63264560c35d88004"
requires "https://github.com/arnetheduck/nim-sqlite3-abi#bdf01cf4236fb40788f0733466cdf6708783cbac"
requires "bearssl"
requires "secp256k1"
requires "nat_traversal"
requires "sqlite3_abi"
### Helper functions
proc buildModule(filePath, params = "", lang = "c"): bool =