2012-12-01 22:58:38 +00:00
|
|
|
# Nimrod 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
|
|
|
|
|
[babel](https://github.com/nimrod-code/babel), a package manager for the
|
|
|
|
|
[Nimrod programming language](http://nimrod-code.org).
|
2012-12-02 13:30:22 +00:00
|
|
|
|
|
|
|
|
## Adding your own package
|
|
|
|
|
To add your own package, fork this repository, edit packages.json and make
|
|
|
|
|
a pull request.
|
|
|
|
|
|
|
|
|
|
Packages.json is a simple array of objects. Each package object should have the
|
2013-11-07 21:13:57 +01:00
|
|
|
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
|
|
|
|
|
babel file.
|
|
|
|
|
* 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
|
|
|
|
|
contain a babel file, or else it will be rejected.
|