Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nix-community/flake-nimble
Nimble packages Nix flake [maintainer=?]
https://github.com/nix-community/flake-nimble
flake nim-lang nix
Last synced: 6 days ago
JSON representation
Nimble packages Nix flake [maintainer=?]
- Host: GitHub
- URL: https://github.com/nix-community/flake-nimble
- Owner: nix-community
- Created: 2019-12-06T10:18:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T14:53:33.000Z (over 1 year ago)
- Last Synced: 2024-10-29T17:22:25.532Z (15 days ago)
- Topics: flake, nim-lang, nix
- Language: Nix
- Homepage:
- Size: 4.82 MB
- Stars: 34
- Watchers: 3
- Forks: 14
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nimble packages Nix flake
This repository contains experimental-grade, auto-generated
[Nim](https://nim-lang.org/) packages.## TODO:
- automatic testing
- back-versioning## Usage
```shell
nix run nimble#fugitive
# Build and execute a Nimble binarynix dev-shell nimble
# Enter a shell with the Nim and Nimble utilities
```For an example of how to refer to Nim packages when building a Nix package you could have a look at [this flake](https://codeberg.org/eris/nix-eris/src/branch/master/flake.nix).
## Synchronization
```sh
nix run .#package-updater# …or to update an invidual package…
nix run .#package-updater generate foobar
```This will prefetch the repositories of new and updated Nimble packages and
record the necessary metadata to fetch the source as a fixed-output derivation.
Each package has such a fixed-output that is used as a input to a derivations
that produce metadata to (attempt to) build the package.## Overrides
Arguments to the Nim package builder may be added to the [./overrides.nix] file.