packages/README.md

30 lines
1.4 KiB
Markdown
Raw Normal View History

# Nim packages [![Build Status](https://travis-ci.org/nim-lang/packages.svg?branch=master)](https://travis-ci.org/nim-lang/packages)
2012-12-01 14:33:30 -08:00
2013-06-21 23:41:14 +02:00
This is a central listing of all packages for
2015-01-02 21:11:07 +01:00
[Nimble](https://github.com/nim-lang/nimble), a package manager for the
2015-01-01 14:02:05 -06:00
[Nim programming language](http://nim-lang.org).
2012-12-02 13:30:22 +00:00
## Adding your own package
2013-12-03 23:28:02 +01:00
To add your own package, fork this repository, edit
[packages.json](packages.json) and make a pull request.
2012-12-02 13:30:22 +00:00
2013-12-03 23:28:02 +01:00
[Packages.json](packages.json) is a simple array of objects. Each package
object should have the following fields (unless the field is marked as
optional):
2012-12-02 13:30:22 +00:00
* name - The name of the package, this should match the name in the package's
2015-05-17 17:40:50 +05:30
nimble file.
2012-12-02 13:30:22 +00:00
* url - The url from which to retrieve the package.
* method - The method that should be used to retrieve this package. Currently
2013-07-27 00:09:48 +01:00
"git" and "hg" is supported.
2012-12-02 13:30:22 +00:00
* tags - A list of tags describing this package.
* description - A description of this package.
2012-12-08 12:48:46 +00:00
* license - The license of the source code in the package.
2013-11-07 21:13:57 +01:00
* web - An optional url for humans to read additional information about
the package.
2012-12-02 13:30:22 +00:00
2013-11-07 21:13:57 +01:00
Your packages may be removed if the url stops working. It goes without saying
that your pull request will not be accepted unless you fill out all of the
above required fields correctly, the package that ``url`` points to must also
2014-11-13 22:48:02 -06:00
contain a .nimble file, or else it will be rejected.