Nimble packages Nix flake [maintainer=nsaspy]
  • Nix 83.8%
  • Nim 10.8%
  • Shell 5.4%
Find a file
2024-08-25 01:57:14 +00:00
.github/workflows Create .github/workflows/main.yml 2023-03-24 18:12:22 -04:00
packages Update packages 2024-08-25 01:57:14 +00:00
patches Patch INim 2021-07-01 12:16:48 +02:00
src Extract nimble metadata during prefetch 2021-02-22 18:03:55 +01:00
.envrc add github action 2022-01-19 08:58:13 +01:00
.gitattributes Hide JSON from git diffs 2019-12-25 05:07:31 +00:00
.gitignore add github action 2022-01-19 08:58:13 +01:00
flake.lock update flake.lock 2023-07-08 04:54:13 -04:00
flake.nix Run package tests by default 2022-01-07 13:05:15 +01:00
init.sh Update packages 2024-08-21 01:33:18 +00:00
nix.nimble Update Nim generator 2019-12-06 11:17:24 +01:00
overlay.nix Run package tests by default 2022-01-07 13:05:15 +01:00
overrides.nix More overrides 2022-01-13 21:59:04 +01:00
README.md Update README.md 2023-03-24 18:51:13 -04:00
setup-hook.sh Do not include meta in package JSON data 2019-12-06 11:17:25 +01:00

nsaspy's Nimble packages Nix flake

Im running this as long as i need it, started the update action so if you was using the community version you can continue here.

This repository contains experimental-grade, auto-generated Nim packages.

TODO:

  • automatic testing
  • back-versioning

Usage

nix run nimble#fugitive
  # Build and execute a Nimble binary

nix 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.

Synchronization

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.