diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-07-15 22:49:04 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-07-15 22:49:04 -0500 |
| commit | 4ab5ff93b8c18ea63deefa5a947950756d215a24 (patch) | |
| tree | df6c43b684b8d57c747bb40fecd6fba11c720bd3 | |
| parent | 97141f523fbdf5d5b0b4594ea615f05faf7efcfb (diff) | |
| download | nimgen-4ab5ff93b8c18ea63deefa5a947950756d215a24.tar.gz nimgen-4ab5ff93b8c18ea63deefa5a947950756d215a24.zip | |
Fix c2nim dependency
| -rw-r--r-- | nimgen.nimble | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nimgen.nimble b/nimgen.nimble index 0427d5a..10bddf5 100644 --- a/nimgen.nimble +++ b/nimgen.nimble @@ -1,6 +1,6 @@ # Package -version = "0.5.0" +version = "0.5.1" author = "genotrance" description = "c2nim helper to simplify and automate the wrapping of C libraries" license = "MIT" @@ -11,7 +11,12 @@ skipDirs = @["nimgen", "tests", "web"] # Dependencies -requires "nim >= 0.17.0", "c2nim >= 0.9.14", "regex >= 0.10.0" +requires "nim >= 0.19.0", "regex >= 0.10.0" + +when NimVersion < "0.20.0": + requires "c2nim#8f1705509084ae47319f6fcfb131e515b134e0f1" +else: + requires "c2nim >= 0.9.14" task test, "Test nimgen": exec "nim c -r tests/rununittests.nim" |
