mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-19 01:18:32 +00:00
Fix inaccuracy surrounding Nimble in doc/nims.rst.
This commit is contained in:
18
doc/nims.rst
18
doc/nims.rst
@@ -75,22 +75,8 @@ done:
|
||||
Nimble integration
|
||||
==================
|
||||
|
||||
A ``project.nims`` file can also be used as an alternative to
|
||||
a ``project.nimble`` file to specify the meta information (for example, author,
|
||||
description) and dependencies of a Nimble package. This means you can easily
|
||||
have platform specific dependencies:
|
||||
|
||||
.. code-block:: nim
|
||||
|
||||
version = "1.0"
|
||||
author = "The green goo."
|
||||
description = "Lexer generation and regex implementation for Nim."
|
||||
license = "MIT"
|
||||
|
||||
when defined(windows):
|
||||
requires "oldwinapi >= 1.0"
|
||||
else:
|
||||
requires "gtk2 >= 1.0"
|
||||
See the `Nimble readme <https://github.com/nim-lang/nimble#readme>`_
|
||||
for more information.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user