{"repo":"nix-community/nix-init","free":true,"listed":false,"github":"https://github.com/nix-community/nix-init","clone":"git clone https://github.com/nix-community/nix-init.git","description":"Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more [maintainer=@figsoda]","language":"Rust","stars":1450,"topics":["go","nix","rust","cargo","python","template","poetry","nixpkgs"],"license":"MPL-2.0","category":"machine-learning","readme_excerpt":"nix-init Generate Nix packages from URLs Note: It is likely that the generated package will not work without some tweaks, also remember to double check the license and description even if it does work - Hash prefetching powered by [nurl] with support for cargoHash and vendorHash - Dependency inference for Rust, Go, and Python projects - Interactive prompts with fuzzy tab completions - License detection Installation The latest release of nix-init is packaged in nixpkgs and kept up to date on the unstable branches If you want to use a more recent snapshot of nix-init, it is also available as a flake. The following command is equivalent to running nix-init --help : or if you don't have flakes enabled: Usage Supported builders - stdenv.mkDerivation and stdenvNoCC.mkDerivation - buildRustPackage - buildPythonApplication and buildPythonPackage - buildGoModule - buildNpmPackage Supported fetchers - fetchCrate - fetchFromGitHub - fetchFromGitLab - fetchFromGitea - fetchPypi - All other fetchers supported by [nurl] are also supported, you just have to manually input the tag/revision of the package Configuration nix-init will try to find nix-init/config.toml under XDG configuration directories Changelog See CHANGELOG.md [nurl]: https://github.com/nix-community/nurl","default_branch":null,"files":null,"tree":[],"storefront":"/r/nix-community","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nix-community/nix-init/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}