Commit graph

41 commits

Author SHA1 Message Date
Wolfgang Walther
1ddea38b07
ktls-utils: 0.11 -> 1.0.0 (#404943) 2025-06-01 12:39:30 +00:00
Wolfgang Walther
096300fb91
ktlint: 1.5.0 -> 1.6.0 (#408839) 2025-06-01 11:18:55 +00:00
Peder Bergebakken Sundt
c4f02ff31e treewide: substitute pname for strings 2025-05-29 17:04:28 +02:00
R. Ryantm
069e551422 ktlint: 1.5.0 -> 1.6.0 2025-05-19 19:35:45 +00:00
R. Ryantm
681138f501 ktls-utils: 0.11 -> 1.0.0 2025-05-07 14:54:54 +00:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
jopejoe1
4326deeece
ktx-tools: 4.3.2 -> 4.4.0 (#394619) 2025-04-05 13:18:54 +02:00
nixpkgs-merge-bot[bot]
965f2f0e46
ktor-cli: 0.4.0 -> 0.5.0 (#395492)
Co-authored-by: nartsisss <nartsiss@proton.me>
2025-04-02 14:12:51 +00:00
R. Ryantm
b3c9faf1f5 ktor-cli: 0.4.0 -> 0.5.0 2025-04-02 13:38:16 +00:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
R. Ryantm
8df5121abe ktx-tools: 4.3.2 -> 4.4.0 2025-03-30 13:32:29 +00:00
Alyssa Ross
63bff8c132
treewide: migrate to fetchCargoVendor, batch 1
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.

It should be possible to reproduce this diff.  To do so, get the list
of files changed by this commit, e.g. with git diff --name-only, then
run the following two commands, each with that list of files as their
standard input:

	xargs sed -i 's/^\(. *\)\(cargoHash\)\b/\1useFetchCargoVendor = true;\n\1cargoHash/'
	cut -d / -f 4 | xargs -n 1 nix-update --version=skip

This will take a long time.  It might be possible to parallelize it
using xargs' -P option.  I haven't tested it.
2025-01-23 11:46:43 +01:00
R. Ryantm
7c445692c1 ktor-cli: 0.3.1 -> 0.4.0 2025-01-21 15:30:50 +00:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01:00
Wolfgang Walther
b39cad6851
ktlint: 1.4.0 -> 1.5.0 (#362469) 2024-12-12 20:25:19 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
R. Ryantm
e745dac703 ktor-cli: 0.3.0 -> 0.3.1 2024-12-09 06:48:59 +00:00
R. Ryantm
6a2505c7f8 ktlint: 1.4.0 -> 1.5.0 2024-12-06 15:47:25 +00:00
Masum Reza
e13831335f
treewide: stdenv.is -> stdenv.hostPlatform.is (#356363)
* treewide: stdenv.is -> stdenv.hostPlatform.is

* treewide: nixfmt due to ci error
2024-11-17 16:11:54 +05:30
R. Ryantm
2a3ed9535e ktor-cli: 0.2.1 -> 0.3.0 2024-11-15 15:14:24 +00:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
nartsisss
5aeaf5919a
ktor-cli: init at 0.2.1 2024-10-05 17:17:46 +03:00
wxt
9d43cd139e kty: init at 0.3.1 2024-09-26 15:56:21 +08:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Peder Bergebakken Sundt
71ea012e77 ktfmt: 0.47 -> 0.51
Diff: https://github.com/facebook/ktfmt/compare/refs/tags/v0.47...v0.51
2024-07-22 23:50:42 +02:00
R. Ryantm
404a0320a2 ktls-utils: 0.10 -> 0.11 2024-06-14 16:31:23 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
TomaSajt
9808effe74
ktfmt: make deterministic 2024-04-21 20:56:00 +02:00
Peder Bergebakken Sundt
f4610006d0
Merge pull request #278466 from arthsmn/ktls-utils-refactor
ktls-utils: add passthru.updateScript
2024-04-17 18:11:52 +02:00
Duncan Fairbanks
4ed0ebac06 maintainers: add bonsairobo
Co-authored-by: Jussi Kuokkanen <44469719+Lurkki14@users.noreply.github.com>
2024-04-13 13:30:53 -07:00
Duncan Fairbanks
c27e1bcb98 ktx-tools: init at 4.2.1
Co-authored-by: Jussi Kuokkanen <44469719+Lurkki14@users.noreply.github.com>
2024-04-13 13:30:26 -07:00
R. Ryantm
3d2e639680 ktfmt: 0.46 -> 0.47 2024-01-22 09:35:10 +00:00
Weijia Wang
513c5f168c
Merge pull request #274758 from r-ryantm/auto-update/maven
maven: 3.9.5 -> 3.9.6
2024-01-04 23:02:33 +01:00
Weijia Wang
0a8855f4bc treewide: update maven hash 2024-01-03 23:04:55 +01:00
arthsmn
737f21efae ktls-utils: add passthru.updateScript 2024-01-03 08:04:48 -03:00
arthsmn
aaae1b52a3 ktls-utils: init at 0.10 2023-12-18 16:36:43 -03:00
Anthony Roussel
0a957d97cc
ktfmt: fix meta.license 2023-11-27 15:43:19 +01:00
ghostbuster91
7a1233cc30 ktfmt: init at 0.46 2023-09-23 16:42:25 -03:00