Nurl: Generate Nix fetcher calls from repository URLs

Just released 0.4.0 with the long-awaited support for fetchurl and fetchzip! Here is the full changelog for this release:

Changes

  • Output tag = "..."; instead of rev for all supported fetchers (#395).
    To adapt to this change, instead of --overwrite(-str) rev <VALUE>, use --overwrite-rev <VALUE> or --overwrite-rev-str <VALUE>,
    which also works for fetchCrate and fetchHex.
  • fetchhg and fetchsvn now output hash instead of sha256

Features

  • fetchurl, fetchzip, fetchpatch, and fetchpatch2 support (#420)
  • Use a GitHub token for authorization if it exists (#388)
  • --overwrite-rev and --overwrite-rev-str as alternatives to --overwrite-rev(-str) (rev|tag|version) (#419)
  • fetchFromGitLab support for https://framagit.org (#428)
  • fetchFromGitea support for https://git.lix.systems (#428)
  • More colorful errors

Fixes

  • Add flakes to extra experimental features (#220)
  • Support subgroups with fetchFromGitLab (#410)
  • Group escaping with Nix 2.18+ and fetchFromGitLab
  • Fetch submodules correctly with fetchhg
9 Likes