aboutsummaryrefslogtreecommitdiff
path: root/nimgen.nimble
diff options
context:
space:
mode:
Diffstat (limited to 'nimgen.nimble')
-rw-r--r--nimgen.nimble9
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"