# Changelog ## Unreleased ### Features - Add support for `buildNpmPackage` ### Fixes - Rust: cargoLock: clear query and fragment from package urls ([#865](https://github.com/nix-community/nix-init/pull/865)) ## v0.3.6 - 2026-05-15 ### Fixes - Rust: remove dependency on rustc ([#797](https://github.com/nix-community/nix-init/pull/797)) ## v0.3.5 - 2026-05-15 ### Changes - Set `__structuredAttrs` ([#774](https://github.com/nix-community/nix-init/pull/774)) - Set `strictDeps` when needed ([#775](https://github.com/nix-community/nix-init/pull/775)) ### Features - Set `passthru.updateScript` for supported fetchers ([#768](https://github.com/nix-community/nix-init/pull/768)) - Use release page as a fallback for changelogs ([#765](https://github.com/nix-community/nix-init/pull/765)) - Commit: Add assisted-by trailer ([#784](https://github.com/nix-community/nix-init/pull/784)) - Rust: force libsqlite3-sys to use pkg-config when needed ([#747](https://github.com/nix-community/nix-init/pull/747)) ### Fixes - Use `wrapGAppsHook3` instead of `wrapGAppsHook` ([#785](https://github.com/nix-community/nix-init/pull/785)) ## v0.3.4 - 2026-03-11 ### Changes - Rust: demote `importCargoLock` when suggesting builders ([#727](https://github.com/nix-community/nix-init/pull/727)) ### Features - Rust: improve dependency inference for a few crates ([#710](https://github.com/nix-community/nix-init/pull/710)) ([#713](https://github.com/nix-community/nix-init/pull/713)) ([#714](https://github.com/nix-community/nix-init/pull/714)) ([#729](https://github.com/nix-community/nix-init/pull/729)) ### Fixes - GitHub: fix crash caused by non-total comparison of tags ([#726](https://github.com/nix-community/nix-init/pull/726)) - Headless: convert pname to kebab case ([#711](https://github.com/nix-community/nix-init/pull/711)) - Zig: use `zig` directly instead of `zig.hook` ([#730](https://github.com/nix-community/nix-init/pull/730)) ### Chores - Flake: remove dependency on the nurl flake ([#717](https://github.com/nix-community/nix-init/pull/717)) ## v0.3.3 - 2026-02-06 ### Changes - Use `finalAttrs` pattern instead of `rec` ([#639](https://github.com/nix-community/nix-init/pull/639)) ([#666](https://github.com/nix-community/nix-init/pull/666)) - Drop compatibility with [nurl] < 0.4 ### Features - Rust: `fetchCargoVendor` support ([#659](https://github.com/nix-community/nix-init/pull/659)) - Headless mode ([#649](https://github.com/nix-community/nix-init/pull/649)) ([#665](https://github.com/nix-community/nix-init/pull/665)) - `stdenvNoCC.mkDerivation` support ([#684](https://github.com/nix-community/nix-init/pull/684)) - Automatically format with [nixfmt] if it's found ([#674](https://github.com/nix-community/nix-init/pull/674)) - Better license detection ([#672](https://github.com/nix-community/nix-init/pull/672)) - Rust: emit `LIBGIT2_NO_VENDOR` when needed ([#671](https://github.com/nix-community/nix-init/pull/671)) - Improve error messages ([#668](https://github.com/nix-community/nix-init/pull/668)) ### Fixes - Remove legacy darwin sdk ([#627](https://github.com/nix-community/nix-init/pull/627)) - Go: drop `-w` from default ldflags ([#640](https://github.com/nix-community/nix-init/pull/640)) - Prefix unstable versions with `0-` ([#565](https://github.com/nix-community/nix-init/pull/565)) - `fetchCrate` now works correctly ([#669](https://github.com/nix-community/nix-init/pull/669)) - GitHub: sort tags ([#698](https://github.com/nix-community/nix-init/pull/698)) - Python: fully remove outdated behavior of adding wheel to dependencies ([#695](https://github.com/nix-community/nix-init/pull/695)) - Normalize homepage URLs ([#694](https://github.com/nix-community/nix-init/pull/694)) - More consistency with [nixfmt] formatting ([#673](https://github.com/nix-community/nix-init/pull/673)) ## v0.3.2 - 2024-08-16 ### Changes - remove use of meta = with lib; by @eclairevoyant in ([#292](https://github.com/nix-community/nix-init/pull/292)) ### Fixes - many crate updates - upgrade to Cargo 1.81 by @K900 in ([#469](https://github.com/nix-community/nix-init/pull/469)) ## v0.3.1 - 2024-08-14 ### Fixes - many crate updates - update dependencies by @figsoda in ([#332](https://github.com/nix-community/nix-init/pull/332)), ([#409](https://github.com/nix-community/nix-init/pull/409)) - Update python derivation template by @mweinelt in ([#419](https://github.com/nix-community/nix-init/pull/419)) - Fix `time` compilation failure by @a-kenji in ([#457](https://github.com/nix-community/nix-init/pull/457)) ## v0.3.0 - 2023-09-16 ### Features - `pkgs/by-name` support: sensible defaults for the output path, and a `commit` option to automatically commit the changes - set `meta.mainProgram` by default - Zig: support `zig.hook` - Python: also add `wheel` when using `setuptools` as the build backend - add a meaningful comment when no licenses were found - Rust: improve dependency inference for the following crates: clipboard_macos, gspell-sys, libhandy-sys, libpanel-sys, libseat-sys, locate-dwarf, poppler-sys-rs, readkey, readmosue, soup-sys, soup2-sys, soup3-sys, sourceview4-sys, tracker-sys, trash, vte4-sys, webkit6-sys, wholesym, wireplumber, x11, xcb - Go: support the following fields in GoReleaser templates: `.IsGitDirty`, `.PrefixedSummary`, `.Summary` - Go: improve dependency inference for gotk4 - mkDerivation: set `meta.platforms` by default - improve documentation for the nixpkgs option ### Changes - Python: use `pyproject = true` instead of `format = "..."` (no longer suggests `format = "setuptools"`) - prompt for the output path last - Go: remove dependency inference for glfw due to false positives ### Fixes - Go: fix parsing of GoReleaser configuration files when `ldflags` is a string instead of a list ## v0.2.4 - 2023-07-06 ### Features - Go: support dependency inference - Rust: improve dependency inference for the following crates: alsa-sys, curl-sys, gtk-sys, gtk4-sys, librocksdb-sys, llvm-sys - Go: improve ldflags formatting - Add nix and nurl to runtime with environment variables instead of relying on a wrapper ### Changes - Drop support for nixpkgs 22.11 ### Fixes - Rust: use `cargo` and `rustc` instead of `rustPlatform.rust.cargo` and `rustPlatform.rust.rustc` - Python: fix `pythonImportsCheck` - Python(pyproject): default build-system.requires to setuptools - Fix interaction with `showAliases = false` on nixpkgs 23.11 ([#153](https://github.com/nix-community/nix-init/issues/153)) ## v0.2.3 - 2023-04-29 ### Features - Python: improve name normalization ### Fixes - Python: fix parsing requirements.txt ([#111](https://github.com/nix-community/nix-init/pull/111)) - Python: acknowledge requirements.txt when pyproject.toml is absent ## v0.2.2 - 2023-04-23 ### Features - Logo and Matrix chat - Rust: use the first git dependency when multiple have the same revisions - Ask to fetch submodules - Improve error messages ## v0.2.1 - 2023-03-22 ### Features - Rust: default to importCargoLock if git sources were found - Rust: deduplicate outputHashes based on git revisions ## v0.2.0 - 2023-03-19 ### Features - Rust: support `importCargoLock` - Rust: improve dependency inference, it now sets environment variables and is feature-aware - Prompt for output path when it is unspecified - Go: infer `ldflags` from GoReleaser configuration - Python: recognize `maturinBuildHook` - Improve builder completions and validator - Improve description normalization - Improve version inference ### Changes - Python: update `buildPythonPackage`'s style to be more conventional - Disallow empty urls - Normalize pname ### Fixes - PyPI: support optional dependencies ([#34](https://github.com/nix-community/nix-init/issues/34)) - PyPI: support zip sdists ([#33](https://github.com/nix-community/nix-init/issues/33)) - PyPI: don't strip digits from package names ([#35](https://github.com/nix-community/nix-init/issues/35)) - PyPI: handle normalized sdist file names ([#32](https://github.com/nix-community/nix-init/issues/32)) - PyPI: accept packages without licenses ([#32](https://github.com/nix-community/nix-init/issues/32)) - PyPI: filter out non-sdist versions - Go: detect empty vendor from go.sum instead of FOD hash ## v0.1.1 - 2023-02-06 ### Fixes - Fix compatibility with nixpkgs 22.11 ([#15](https://github.com/nix-community/nix-init/issues/15)) - GitHub: sort tags by chronological order ([#18](https://github.com/nix-community/nix-init/issues/18)) - Python: fix dependency parsing ([#22](https://github.com/nix-community/nix-init/issues/22)) ### Features - `--nixpkgs` to override nixpkgs ([#14](https://github.com/nix-community/nix-init/issues/14)) - Handle deprecated spdx license identifiers - Python: detect build dependencies in build-system.requires ([#23](https://github.com/nix-community/nix-init/issues/23)) ## v0.1.0 - 2023-01-28 First release [nixfmt]: https://github.com/NixOS/nixfmt [nurl]: https://github.com/nix-community/nurl