Commit Graph

8 Commits

Author SHA1 Message Date
Guy Chronister
0a5afb7650 various: maintenance updates for multiple packages
- Switch from 'rev' to 'tag' attribute in fetchFromGitHub/fetchgit calls
- Update 'sha256' to 'hash' for consistency
- Convert to finalAttrs pattern where applicable
- Replace 'with lib' with explicit lib prefixes
- Use 'replace-fail' variants for substitutions
- Update python3.pkgs to python3Packages pattern
- Switch propagatedBuildInputs to dependencies for Python packages
- Fix .pc file meta attribute interpolation

Affected packages: autotrash, banana-vera, cano, cista, coost, cppi,
criterion, diagrams-as-code, filterpath, fzf-make, gbsplay, gfold,
git-pr, git-standup, hexedit, hueadm, ksh, liboqs, libowlevelzs, libsv,
mini-calc, nph, physac, ps_mem, ragnarwm, rasm, raygui, sxcs, toolong,
tuifimanager, unipicker, ustr, viu, xml-tooling-c, yyjson
2025-11-22 16:19:57 +00:00
R. Ryantm
40083f589d yyjson: 0.11.1 -> 0.12.0 2025-08-18 20:15:18 +00:00
R. Ryantm
11e95671b7 yyjson: 0.11.0 -> 0.11.1 2025-05-19 17:37:32 +00:00
misilelab
e089f5a782 yyjson: 0.10.0 -> 0.11.0
https://github.com/ibireme/yyjson/releases/tag/0.11.0

Signed-off-by: misilelab <misileminecord@gmail.com>
2025-05-06 15:33:02 +09: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
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
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