mirror of
https://github.com/nix-community/nurl.git
synced 2024-10-26 20:19:56 +03:00
1.7 KiB
1.7 KiB
nurl
Generate Nix fetcher calls from repository URLs
Installation
The latest precompiled binaries are available on github.
Alternatively you can install nurl from crates.io with cargo.
cargo install nurl
Building from source
cargo build --release
Usage
Generate Nix fetcher calls from repository URLs
https://github.com/nix-community/nurl
Usage: nurl [OPTIONS] <URL> <REV>
Arguments:
<URL> URL to the repository to be fetched
<REV> the revision or reference to be fetched
Options:
-f, --fetcher <FETCHER> specify the fetcher function instead of inferring from the URL [possible values: fetchFromGitHub, fetchFromGitLab, fetchFromSourcehut, fetchgit, fetchhg]
-i, --indent <INDENT> extra indentation (in number of spaces) [default: 0]
-h, --help Print help information
-V, --version Print version information
Changelog
See CHANGELOG.md