diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2018-03-13 07:31:38 +0200 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2018-03-13 07:31:38 +0200 |
| commit | 8933d9b3573b1dc7c4d51cb3c31eb5a457aab549 (patch) | |
| tree | edff908601b6d37af93b4542bb276cb4172fbf7a /tomcrypt.nimble | |
| download | tomcrypt-nim-8933d9b3573b1dc7c4d51cb3c31eb5a457aab549.tar.gz tomcrypt-nim-8933d9b3573b1dc7c4d51cb3c31eb5a457aab549.zip | |
Initial commit
Diffstat (limited to 'tomcrypt.nimble')
| -rw-r--r-- | tomcrypt.nimble | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tomcrypt.nimble b/tomcrypt.nimble new file mode 100644 index 0000000..dbb71ad --- /dev/null +++ b/tomcrypt.nimble @@ -0,0 +1,18 @@ +# Package + +version = "0.1.0" +author = "Oskari Timperi" +description = "libtomcrypt for Nim" +license = "MIT" +srcDir = "src" + +# Dependencies + +requires "nim >= 0.18.0" +requires "tommath" + +before install: + if not existsEnv("TOMCRYPT_NO_CLONE"): + exec "git clone --branch v1.18.1 --depth 1 https://github.com/libtom/libtomcrypt.git /tmp/source-libtomcrypt" + + exec "nim c -r tools/libtomcrypt.nim" |
