Rename monad to maybe. Add rename package instructions to readme.

This commit is contained in:
Dominik Picheta 2017-07-08 15:35:17 +01:00
parent 93531a4f47
commit 505a05f19d
2 changed files with 31 additions and 0 deletions

View File

@ -30,3 +30,30 @@ 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 .nimble file, or else it will be rejected.
## Renaming packages
To rename a package you will need to add a new entry for your package. Simply
perform the following steps:
* Duplicate your package's current entry.
* Remove every field in one of the entries apart from the `name` field.
* Add an `alias` field to that entry.
* Change the name in the other package entry.
For example:
```
...
{
"name": "myoldname",
"alias": "mynewname"
},
{
"name": "mynewname",
"url": "...",
"method": "git",
...
},
...
```

View File

@ -1591,6 +1591,10 @@
"license": "OpenSSL License and SSLeay License",
"web": "https://github.com/cowboy-coders/nim-openssl-evp"
},
{
"name": "monad",
"alias": "maybe"
},
{
"name": "maybe",
"url": "https://github.com/superfunc/maybe",