format markdown with deno

This commit is contained in:
Jörg Thalheim 2024-08-14 06:16:37 +02:00
parent ad722cba45
commit 69fe387010
4 changed files with 72 additions and 35 deletions

View File

@ -4,44 +4,58 @@
### Fixes
* many crate updates
* update dependencies by @figsoda in https://github.com/nix-community/nix-init/pull/332, https://github.com/nix-community/nix-init/pull/409
* Update python derivation template by @mweinelt in https://github.com/nix-community/nix-init/pull/419
* Fix `time` compilation failure by @a-kenji in https://github.com/nix-community/nix-init/pull/457
- many crate updates
- update dependencies by @figsoda in
https://github.com/nix-community/nix-init/pull/332,
https://github.com/nix-community/nix-init/pull/409
- Update python derivation template by @mweinelt in
https://github.com/nix-community/nix-init/pull/419
- Fix `time` compilation failure by @a-kenji in
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
- `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`
- 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"`)
- 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
- 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
- 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
- Add nix and nurl to runtime with environment variables instead of relying on a
wrapper
### Changes
@ -49,10 +63,12 @@
### Fixes
- Rust: use `cargo` and `rustc` instead of `rustPlatform.rust.cargo` and `rustPlatform.rust.rustc`
- 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))
- 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
@ -62,7 +78,8 @@
### Fixes
- Python: fix parsing requirements.txt ([#111](https://github.com/nix-community/nix-init/pull/111))
- 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
@ -86,7 +103,8 @@
### Features
- Rust: support `importCargoLock`
- Rust: improve dependency inference, it now sets environment variables and is feature-aware
- 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`
@ -102,11 +120,16 @@
### 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: 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
@ -114,15 +137,20 @@
### 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))
- 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))
- `--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))
- Python: detect build dependencies in build-system.requires
([#23](https://github.com/nix-community/nix-init/issues/23))
## v0.1.0 - 2023-01-28

View File

@ -10,9 +10,12 @@
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
> 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`
- 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
@ -21,12 +24,13 @@ Generate Nix packages from URLs
## Installation
The latest release of nix-init is packaged in nixpkgs and kept up to date on the unstable branches
The latest release of nix-init is packaged in nixpkgs and kept up to date on the
unstable branches
![](https://repology.org/badge/vertical-allrepos/nix-init.svg)
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`:
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`:
```bash
nix run github:nix-community/nix-init -- --help
@ -69,11 +73,13 @@ Options:
- `fetchFromGitLab`
- `fetchFromGitea`
- `fetchPypi`
- All other fetchers supported by [nurl] are also supported, you just have to manually input the tag/revision of the package
- 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
nix-init will try to find `nix-init/config.toml` under XDG configuration
directories
```toml
# ~/.config/nix-init/config.toml

View File

@ -3,10 +3,12 @@
## License
The logo is derived from [the Nix logo](https://github.com/NixOS/nixos-artwork),
which is licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/).
which is licensed under
[CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/).
The social preview uses [the JetBrains Mono font](https://www.jetbrains.com/lp/mono/),
which is licensed under [OFL-1.1](https://spdx.org/licenses/OFL-1.1.html).
The social preview uses
[the JetBrains Mono font](https://www.jetbrains.com/lp/mono/), which is licensed
under [OFL-1.1](https://spdx.org/licenses/OFL-1.1.html).
## Logo

View File

@ -13,6 +13,7 @@
rustfmt.enable = true;
nixfmt.enable = true;
nixfmt.package = pkgs.nixfmt-rfc-style;
deno.enable = true;
};
};
};