packages/README.md

42 lines
2.1 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
NOTE: The packages listed here are not peer-reviewed or otherwise screened. We try to keep the list up-to-date but we cannot guarantee quality or maturity of the packages.
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.
* web - An optional URL for humans to read additional information about
2013-11-07 21:13:57 +01:00
the package.
* doc - An optional URL for humans to read the package HTML documentation
### Requirements
2016-04-07 22:30:39 +01:00
While we really appreciate your contribution, please follow the requirements: other developers will rely on your package. Non-compliant packages might be removed with no warning.
2012-12-02 13:30:22 +00:00
* The URL should work, a .nimble file should be present and the package should be installable
* The package should build correctly with the latest Nim release
* The package should not contain files without a license or in breach of 3rd parties licensing
* Non-mature packages should be flagged as such, especially if they perform security-critical tasks (e.g. encryption)
2016-04-07 22:30:39 +01:00
* If abandoning a package, please tag it as "abandoned"
* Optionally GPG-sign your releases
* Optionally follow [SemVer](http://semver.org
The requirements might change in future.