Add lockfile

This commit is contained in:
Emery Hemingway 2023-10-13 23:13:23 +01:00
parent 552e51899c
commit 6fcb76b1e9
5 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/.direnv
/nim.cfg

2
Tupfile Normal file
View File

@ -0,0 +1,2 @@
include_rules
: lock.json |> !nim_cfg |> | ./<lock>

View File

@ -1 +1,2 @@
include depends.tup
NIM_GROUPS += $(TUP_CWD)/<lock>

View File

@ -1,5 +1,3 @@
include ../preserves-nim/depends.tup
NIM_FLAGS += --path:$(TUP_CWD)/../nim
NIM_FLAGS += --path:$(TUP_CWD)/../preserves-nim/src
NIM_FLAGS += --path:$(TUP_CWD)/../hashlib
NIM_GROUPS += $(TUP_CWD)/<protocol>

1
lock.json Normal file
View File

@ -0,0 +1 @@
{"depends":[{"method":"fetchzip","packages":["nimcrypto"],"path":"/nix/store/zyr8zwh7vaiycn1s4r8cxwc71f2k5l0h-source","ref":"traditional-api","rev":"602c5d20c69c76137201b5d41f788f72afb95aa8","sha256":"1dmdmgb6b9m5f8dyxk781nnd61dsk3hdxqks7idk9ncnpj9fng65","srcDir":"","url":"https://github.com/cheatfate/nimcrypto/archive/602c5d20c69c76137201b5d41f788f72afb95aa8.tar.gz"},{"method":"fetchzip","packages":["bigints"],"path":"/nix/store/c5jkv3mb0mzij9sxhw2n0aylja58mbxb-source","ref":"0.5.0","rev":"c5ea3d5c95b7b3c95d980ca8ea608c06ae537762","sha256":"17gn8iarzi6v0pqhrgi832cv5w03s8pphz59d3bmqq955mfdgi6c","srcDir":"src","url":"https://github.com/nim-lang/bigints/archive/c5ea3d5c95b7b3c95d980ca8ea608c06ae537762.tar.gz"},{"method":"fetchzip","packages":["npeg"],"path":"/nix/store/ffkxmjmigfs7zhhiiqm0iw2c34smyciy-source","ref":"1.2.1","rev":"26d62fdc40feb84c6533956dc11d5ee9ea9b6c09","sha256":"0xpzifjkfp49w76qmaylan8q181bs45anmp46l4bwr3lkrr7bpwh","srcDir":"src","url":"https://github.com/zevv/npeg/archive/26d62fdc40feb84c6533956dc11d5ee9ea9b6c09.tar.gz"},{"date":"2021-05-07T11:37:01+08:00","deepClone":false,"fetchLFS":false,"fetchSubmodules":true,"hash":"sha256-nWNThelCh0LPVU7ryZgS/23hRRvJDVL2xWbQibb+zN0=","leaveDotGit":false,"method":"git","packages":["hashlib"],"path":"/nix/store/ypmz81n9hq92xl4680v44r0sijnj28ky-hashlib-84e0247","rev":"84e0247555e4488594975900401baaf5bbbfb531","sha256":"1pfczsv8kl36qpv543f93d2y2vgz2acckssfap7l51s2x62m6qwx","srcDir":"","url":"https://github.com/khchen/hashlib.git"},{"method":"fetchzip","packages":["preserves"],"path":"/nix/store/cllia4anqhxv777rf0sp2zmprqs7j8w3-source","ref":"v2.0.0","rev":"30a9d55aac367ec7a518c27071bebb7fdebe55e2","sha256":"0l4snllaq9yalzhkwzva8c4rpcw7q0wpji2xsn8nbyxxm8mdq68d","srcDir":"src","url":"https://git.syndicate-lang.org/ehmry/preserves-nim.git/archive/30a9d55aac367ec7a518c27071bebb7fdebe55e2.tar.gz"}]}