Commit Graph

107 Commits

Author SHA1 Message Date
Ben Siraphob
062d2b697e pkgs: fix typos in applications, data, desktops, games and misc
Assisted-by: Claude Code (claude-opus-5)
2026-08-02 11:15:27 -07:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
phaer
978931902c maintainers: drop abbradar
Listed as maintainer for ~170 packages but last commit that made it to
master was 6786ceb in February 2022.

Unresponsive on PRs, such as i.e. #411522
2025-08-22 09:49:27 +02:00
Martin Häcker
65b3fa956f quake3: fix mainProgram
This fixes `nix run` invocations
2025-06-07 16:26:57 +02:00
Martin Häcker
054514a563 quake3: Update resolution guidance
The smaller resolutions do not seem to work anymore (on macos at least).
Here the smaller resolution still leave black bars behind.
2025-06-07 16:26:57 +02:00
‮rekcäH nitraM‮
a9466cb9d6 quake3-hires: better attribution
I had communication from the upstream project that clarified where some
of the paks he provides came from. Mostly they are custom repacks of
him, which means it's correct to get them from his repo.
2025-06-07 16:26:57 +02:00
‮rekcäH nitraM‮
a5b5293bef quake3-hires: Better way to download github sources
Before github would randomly change somethign about the files making
their checksums invalid. This should work better.
2025-06-07 16:26:57 +02:00
‮rekcäH nitraM‮
dd50a04913 quake3-hires: switch from deprecated sha256 attribute 2025-06-07 16:26:57 +02:00
‮rekcäH nitraM‮
c89d34d772 quake3: move all the files into a set to make visible that they belong together
This also neatly avoids the warning by nipkgs-vet
2025-06-07 16:26:57 +02:00
‮rekcäH nitraM‮
f59281f1c7 quake3-arena: add full game with dependency on externally provided pak0.pk3 2025-06-07 16:26:56 +02:00
‮rekcäH nitraM‮
1824b615d1 quake3: Inherit wrapper attributes from ioquake3 and the used pak file
This makes it much shorter to use, as the first set of pak files can
provide the description, and the used ioquake3 can provide the supported
platforms.
2025-06-06 16:36:08 +02:00
‮rekcäH nitraM‮
2e74aafeb6 quake3: rename the darwin wrapper for consistency 2025-06-06 16:36:08 +02:00
‮rekcäH nitraM‮
d73f395319 quake3: extract basepath into variable to remove duplication 2025-06-06 16:36:08 +02:00
‮rekcäH nitraM‮
4954fc6bb1 quake3: name outputs from pname for consistently named binaries 2025-06-06 16:36:08 +02:00
‮rekcäH nitraM‮
fbf8c9ff59 quake3: stop using star matches, as there is nothing to match 2025-06-06 16:36:08 +02:00
‮rekcäH nitraM‮
ff0ec8e6a1 quake3-hires: annotate version to note that this is an unstable version
Basically, we use the tip of the tree as upstream has not done propper
releases in a long time.
2025-06-06 16:36:08 +02:00
‮rekcäH nitraM‮
11b1c3aec5 quake3-hires: switch from rec to fixpoint 2025-06-06 16:36:07 +02:00
‮rekcäH nitraM‮
1fad2b71e8 quake3-hires: Add more high resolution enhancements for quake
Also build a derivation that packs it all together
2025-06-06 16:36:07 +02:00
‮rekcäH nitraM‮
0ecd50f8f1 quake3-wrapper: Fix build on darwin 2025-06-06 16:36:07 +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
Alexandre Girard Davila
7516e662d2 quake3e: 2022-04-01-dev -> 2024-09-02-dev 2024-09-02 09:51:33 +07:00
Jade Lovelace
5dfdb09561 tree-wide: remove eelco as maintainer from things he no longer maintains
While preparing this change, I read the git blame on all of the files I
touched. I saw a working lifetime of building this system which we use
every day and love dearly and keep maintained ourselves. I saw commits
from a 14 year range between 2003 to 2017!! I could not be more thankful
for Eelco's work on building large parts of the foundation of nixpkgs
that all of us rely on now.

However, the end date of that range of the files I looked at the blame
on was 2017. I did not see surviving code from any newer date than that.
Looking at the Git logs, Eelco has been working on other things, and
that's totally fine.

However, it means that our maintenance metadata is out of date on a lot
of packages, and *that*'s the reason I am submitting this change. There
are a lot of packages that don't have anyone with their name on them to
be pinged if they need attention, even if they have had recent activity
(although it is never clear if recent activity was just someone fixing
it because ZHF or because the package actually matters to them).
There are a lot of packages with storied history that maybe don't need
to be in the set anymore at all since they have not been touched in
years; or maybe they are simply finished.

Empty maintainer lists should be a sign that we need to figure out who
maintains it or potentially remove it if it has rotted, and allowing the
maintainer list to be empty if it is already not maintained is part of a
healthy repository ecology.

Either way, I would like to have the maintenance metadata not mislead
anyone into sending Eelco emails about packages he doesn't, in practice,
work on anymore. I have not removed his name from everything; there are
some things that he is the upstream for or has worked on more recently,
for instance, like Nix, which I have left alone.
2024-08-21 01:17:45 -07:00
Jussi Kuokkanen
e1f68ae7cc pkgs/games: remove licenses.gpl2 2024-07-03 12:46:48 +03: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
Tristan Ross
04f7ef9291 quake3e: fix compiling for aarch64 2024-06-06 15:20:02 -07:00
Felix Buehler
6f78b90a8c quake3e: add desktop-icon 2024-01-07 22:45:45 +01:00
Jacek Galowicz
f9656cc72b quake3-wrapper: Fix paths 2023-10-23 14:31:00 +01:00
Pol Dellaiera
b2871a6ca8 ioquake3: fix preConfigure phase
Using `makeFlags` doesn't do anything, using the local `Makefile.local` is actually working.
2023-08-21 21:59:55 +02:00
TheBrainScrambler
b3e3d4037d ioquake3: fix incorrect license gpl2Only -> gpl2Plus 2023-08-19 17:04:04 +02:00
Pol Dellaiera
dbcc734bbd ioquake3: cleanup
- Fix `ioquake3`
- Remove the arch suffix from the binaries (`ioquake3.x86-64` -> `ioquake3`, `ioq3ded.x86-64` -> `ioq3ded`)
- Add `.desktop` file
- Remove unneeded dependencies
- Clean-up installation phase
- Add `meta.mainProgram` attribute
- Add myself in the maintainer list
2023-08-19 07:06:15 +02:00
Sergei Trofimovich
06afa6115d quake3demo: fix binary paths in the wrapper
https://github.com/NixOS/nixpkgs/pull/209008 moved quake3 binaries to
$out/bin. This broke wrappers as:

    $ NIXPKGS_ALLOW_UNFREE=1 nix build -f. quake3demo -L
    ...
    quake3-demo> Builder called die: Cannot wrap '/nix/store/khlq2wa0i7rab4vkzvk4pl54lyi6c36d-quake3-demo-1.11-6-ioquake3-unstable-2022-11-24/bin/quake3' because it is not an executable file

The change fixes wrapper to point to new locations.
2023-02-24 19:19:21 +00:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Dr Perceptron
f1e48efea8 ioquake3: unstable-2021-07-20 -> unstable-2022-11-24 2023-01-05 10:38:33 +11:00
Dr Perceptron
3c22923e0a ioquake3: install binaries into $out/bin 2023-01-05 10:38:33 +11:00
Naïm Favier
2c83122c18 treewide: fix broken meta attributes 2023-01-01 14:10:42 +01:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Dr Perceptron
4565febba8 quake3e: 2020-04-04 -> 2022-04-01-dev 2022-04-03 17:13:52 +10:00
Astro
863ef0dd47 quake3e: fix libcurl.so.4 location 2021-12-03 18:22:30 +01:00
Felix Bühler
f5c12e8311 treewide: replace '-git' packages with 'unstable-' in version (#145396) 2021-11-10 16:21:47 -05:00
Daniel Nagy
20f7b7517e ioquake3: 2020-12-26 -> 2021-07-20 2021-08-11 00:30:53 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Roman Volosatovs
cef94edcf8 quake3hires: init at 2020-01-20 2021-01-18 17:12:16 +01:00
Ben Siraphob
2e34288f0d pkgs/games: stdenv.lib -> lib 2021-01-15 13:36:04 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Roman Volosatovs
d6d9eb5593 ioquake3: 2019-05-29 -> 2020-12-26 2021-01-08 12:57:42 +01:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Philipp Middendorf
0bfd0200ae quake3e: 2020-01-23 -> 2020-04-04 2020-04-10 08:25:15 +02:00
Philipp Middendorf
4ebe020cc7 quake3e: 2019-11-29 -> 2020-01-23 2020-02-16 08:09:54 -08:00
Philipp Middendorf
2b298a3ef1 quake3e: 2019-09-09 -> 2019-11-29 (#75511) 2019-12-15 02:16:53 -05:00