Nim is a fast, statically typed language that compiles to C (and other languages).
Main (upstream) Nim homepage: http://nim-lang.org/
Official Wiki: https://github.com/nim-lang/Nim/wiki
GitHub repository: https://github.com/nim-lang/Nim
IRC channel: #nim on Freenode
Nim in Debian
The nim compiler is packaged.
Nim-specific packaging helpers are not available yet.
Add the "nim" package to Build-Depends. You might want to specify a minimum and maximum version of Nim as the compiler is still evolving (2015).
Get involved with the packaging
Get in touch with us on IRC
Report bugs and suggest new packages
Contribute to packaging, bug fixing and testing
Packaging best practices
Host your packaging under Git in collab-maint. This will allow people to comaintain the packages or even take over easily.
Build using git-buildpackage
Create packages using dh-make-nim - it will provide reasonable default (Warning: not ready yet)
Do not package experimental software. If an upstream project does not have a version number you can use 0.0_gitYYYYMMDD-x as a version number. (x is the Debian version number)
dh-nim comes with an example debian/rules file: http://anonscm.debian.org/gitweb/?p=collab-maint/dh-nim.git;a=blob_plain;f=example/rules
Libraries are packaged to allow building other Nim libraries and applications. End users will not install them.
Build-Depends and Depends lines: The dependencies need to be available at build time to run the tests (if any) and at installation time so that other packages can be built.
The source package name should be "nim-<name>".
The source package name should be "nim-<name>". Make sure to specify the Depends: to the right shared library and version.
The binary package name should *not* start with "nim-"
dh_nim will detect the name and run Nim with a JS target. (Not implemented yet)
- Package the compiler DONE
- Package nimble DONE
- Create a dh-make-nim helper
- Improve the library/application packaging docs (this page)
Package more stuff