nur/README.md

31 lines
1.2 KiB
Markdown
Raw Normal View History

# nur-packages-template
**A template for [NUR](https://github.com/nix-community/NUR) repositories**
## Setup
1. Fork this repo
2. Add your packages to the [pkgs](./pkgs) directory and to
[default.nix](./default.nix)
* Remember to mark the broken packages as `broken = true;` in the `meta`
attribute, or travis (and consequently caching) will fail!
3. Add your NUR repo name and your cachix repo name (optional) to
[.travis.yml](./.travis.yml)
2018-07-16 12:27:12 +00:00
* If you use cachix you should also add your cache's private key to travis'
protected env variables
4. Enable travis for your repo
5. Change your travis and cachix names on the README template section and delete
the rest
6. [Add yourself to NUR](https://github.com/nix-community/NUR#how-to-add-your-own-repository)
## README template
# nur-packages
**My personal [NUR](https://github.com/nix-community/NUR) repository**
[![Build Status](https://travis-ci.com/<YOUR_TRAVIS_USERNAME>/nur-packages.svg?branch=master)](https://travis-ci.com/<YOUR_TRAVIS_USERNAME>/nur-packages)
[![Cachix Cache](https://img.shields.io/badge/cachix-<YOUR_CACHIX_USERNAME>-blue.svg)](https://<YOUR_CACHIX_USERNAME>.cachix.org)