2025-08-09 22:56:44 +02:00
|
|
|
# ffi.nimble
|
|
|
|
|
|
2026-01-23 17:55:43 +01:00
|
|
|
version = "0.1.3"
|
2025-08-09 22:56:44 +02:00
|
|
|
author = "Institute of Free Technology"
|
|
|
|
|
description = "FFI framework with custom header generation"
|
|
|
|
|
license = "MIT or Apache License 2.0"
|
|
|
|
|
|
|
|
|
|
packageName = "ffi"
|
|
|
|
|
|
|
|
|
|
requires "nim >= 2.2.4"
|
2026-01-07 00:01:17 +05:30
|
|
|
requires "chronos"
|
2026-01-23 15:01:08 +01:00
|
|
|
requires "chronicles"
|
|
|
|
|
requires "taskpools"
|
2025-08-09 22:56:44 +02:00
|
|
|
|
|
|
|
|
# Source files to include
|
|
|
|
|
# srcDir = "src"
|
|
|
|
|
# installFiles = @["src/ffi.nim", "mylib.h"]
|
|
|
|
|
|
|
|
|
|
# # 💡 Custom build step before installation
|
|
|
|
|
# before install:
|
|
|
|
|
# echo "Generating custom C header..."
|
|
|
|
|
# exec "nim r tools/gen_header.nim"
|