Settings

Theme

Generate Nix packages from URLs with hash prefetching and dependency inference

github.com

1 points by figsoda 3 years ago · 1 comment

Reader

figsodaOP 3 years ago

https://asciinema.org/a/555367

- Hash prefetching powered by [nurl]

- Dependency inference for Rust packages using the [Riff](https://github.com/DeterminateSystems/riff) registry and python projects

- Interactive prompts with fuzzy tab completions

- License detection

- Supported builders

  - `stdenv.mkDerivation`

  - `buildRustPackage`

  - `buildPythonApplication` and `buildPythonPackage`

  - `buildGoModule`
- Supported fetchers

  - `fetchCrate`

  - `fetchFromGitHub`

  - `fetchFromGitLab`

  - `fetchFromGitea`

  - `fetchPypi`

  - All other fetchers supported by [nurl] are also supported, you just have to specify the tags manually
``` Usage: nix-init [OPTIONS] <OUTPUT>

Arguments: <OUTPUT> The path to output the generated file to

Options: -u, --url <URL> Specify the URL -c, --config <CONFIG> Specify the config file -h, --help Print help -V, --version Print version ```

[nurl]: https://github.com/nix-community/nurl

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection