From 1a1454ed1e1e8b2f041aaecbf4f039bd315a94aa Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 31 Dec 2022 22:30:54 -0500 Subject: [PATCH] add comparison to nix-prefetch --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 457b447..93fdfdb 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,14 @@ Options: -V, --version Print version information ``` +## Comparison to [nix-prefetch](https://github.com/msteen/nix-prefetch) + +- `nurl` infers the fetcher from the URL. For `nix-prefetch`, you need to pick the fetcher and supply the arguments manually. +- `nix-prefetch` relies FOD which is slow, `nurl` tries to use alternatives when possible. +- `nix-prefetch` supports arbitrary expressions (planned for `nurl`) and file attributes. +- `nix-prefetch` is more configurable and has an interface similar to `nix-build`. +- `nurl` has some nice features dedicated to generated packages (`--indent`, `--list-possible-fetchers`). + ## Changelog See [CHANGELOG.md](CHANGELOG.md)