Skip to content

Commit

Permalink
nimble: add lock file
Browse files Browse the repository at this point in the history
Closes: 467
  • Loading branch information
ee7 committed Jan 6, 2023
1 parent f8d86a3 commit 1dd2198
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 13 deletions.
18 changes: 5 additions & 13 deletions configlet.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,11 @@ bin = @["configlet"]

# Dependencies
requires "nim >= 1.6.10"
requires "cligen#b962cf8bc0be847cbc1b4f77952775de765e9689" # 1.5.19 (2021-09-13)
requires "jsony#2a2cc4331720b7695c8b66529dbfea6952727e7b" # 1.1.3 (2022-01-03)
requires "parsetoml#9cdeb3f65fd10302da157db8a8bac5c42f055249" # 0.6.0 (2021-06-07)
requires "supersnappy#e4df8cb5468dd96fc5a4764028e20c8a3942f16a" # 2.1.3 (2022-06-12)
requires "uuids#8cb8720b567c6bcb261bd1c0f7491bdb5209ad06" # 0.1.11 (2021-01-15)
# To make Nimble use the pinned `isaac` version, we must pin `isaac` after `uuids`
# (which has `isaac` as a dependency).
# Nimble still clones the latest `isaac` tag if there is no tag-versioned one
# on-disk (e.g. at ~/.nimble/pkgs/isaac-0.1.3), and adds it to the path when
# building, but (due to writing it later) the pinned version takes precedence.
# Nimble will support lock files in the future, which should provide more robust
# version pinning.
requires "isaac#45a5cbbd54ff59ba3ed94242620c818b9aad1b5b" # 0.1.3 (2017-11-16)
requires "cligen"
requires "jsony"
requires "parsetoml"
requires "supersnappy"
requires "uuids"

task test, "Runs the test suite":
exec "nim r ./tests/all_tests.nim"
Expand Down
67 changes: 67 additions & 0 deletions nimble.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"version": 1,
"packages": {
"supersnappy": {
"version": "2.1.3",
"vcsRevision": "e4df8cb5468dd96fc5a4764028e20c8a3942f16a",
"url": "https://github.com/guzba/supersnappy",
"downloadMethod": "git",
"dependencies": [],
"checksums": {
"sha1": "36a05ee6befe3764ed8e2a6fb5d0882c2fd090f8"
}
},
"isaac": {
"version": "0.1.3",
"vcsRevision": "45a5cbbd54ff59ba3ed94242620c818b9aad1b5b",
"url": "https://github.com/pragmagic/isaac/",
"downloadMethod": "git",
"dependencies": [],
"checksums": {
"sha1": "05c3583a954715d84b0bf1be97f9a503249e9cdf"
}
},
"uuids": {
"version": "0.1.11",
"vcsRevision": "8cb8720b567c6bcb261bd1c0f7491bdb5209ad06",
"url": "https://github.com/pragmagic/uuids/",
"downloadMethod": "git",
"dependencies": [
"isaac"
],
"checksums": {
"sha1": "393f5fcefbc8ad3cf167e59760144208ff8f9f76"
}
},
"cligen": {
"version": "1.5.19",
"vcsRevision": "b962cf8bc0be847cbc1b4f77952775de765e9689",
"url": "https://github.com/c-blake/cligen.git",
"downloadMethod": "git",
"dependencies": [],
"checksums": {
"sha1": "bfe4f99a16ace2164fe40d40866e4951bed51820"
}
},
"parsetoml": {
"version": "0.6.0",
"vcsRevision": "9cdeb3f65fd10302da157db8a8bac5c42f055249",
"url": "https://github.com/NimParsers/parsetoml.git",
"downloadMethod": "git",
"dependencies": [],
"checksums": {
"sha1": "9adcce9012c4243954da393333ee8ec243e20aab"
}
},
"jsony": {
"version": "1.1.3",
"vcsRevision": "2a2cc4331720b7695c8b66529dbfea6952727e7b",
"url": "https://github.com/treeform/jsony",
"downloadMethod": "git",
"dependencies": [],
"checksums": {
"sha1": "3a1d109f9ac95c708549b976ceab7ace5b7ef558"
}
}
}
}

0 comments on commit 1dd2198

Please sign in to comment.