• 2 Posts
  • 0 Comments
Joined 3Y ago
cake
Cake day: Oct 15, 2020

help-circle
rss
[Announcement on NixOS Discourse](https://discourse.nixos.org/t/nix-init-generate-nix-packages-from-urls-with-hash-prefetching-dependency-inference-license-detection-and-more) ![](https://user-images.githubusercontent.com/40620903/215294082-81f7c171-c39a-47c3-8a28-0956fd7b9fa9.gif) ### Features - 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 ``` 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
fedilink

[Announcement on NixOS Discourse](https://discourse.nixos.org/t/nix-init-generate-nix-packages-from-urls-with-hash-prefetching-dependency-inference-license-detection-and-more) ![](https://user-images.githubusercontent.com/40620903/215294082-81f7c171-c39a-47c3-8a28-0956fd7b9fa9.gif) ### Features - 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 ``` 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
fedilink