Commit Graph

90 Commits

Author SHA1 Message Date
Arne Keller
e9e5443914
slade, sladeUnstable: Fix and update (#322061) 2024-12-12 10:17:14 +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
Francis Gagné
c7dd09e342 sladeUnstable: 3.2.4-unstable-2023-09-30 -> 3.2.6-unstable-2024-11-26
Additionally:

- Remove obsolete postPatch.
- Add wrapGAppsHook3 to nativeBuildInputs. This is taken from the slade
  package. This fixes the application crashing with "No GSettings
  schemas are installed on the system" when using File > Open or File >
  Open Directory.
2024-12-08 18:11:19 -05:00
Francis Gagné
ceceb20f1f slade: 3.2.5 -> 3.2.6 2024-12-08 18:03:42 -05:00
R. Ryantm
a44b29add1 doomrunner: 1.8.2 -> 1.8.3 2024-12-08 13:01:18 +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
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Gliczy
31246e060b gzdoom: move to pkgs/by-name 2024-09-12 22:27:49 +02:00
Weijia Wang
a1cf50f57f
dhewm3: 1.5.3 -> 1.5.4 (#332129) 2024-09-09 23:35:59 +02:00
Sebastián Mancilla
70b35a2dc2
crispy-doom: 6.0 -> 7.0 (#333441) 2024-08-30 23:20:53 -04:00
Anderson Torres
40d9cf0c86 doomretro: migrate to by-name 2024-08-14 23:19:46 -03:00
R. Ryantm
b5fe6cc72f crispy-doom: 6.0 -> 7.0 2024-08-09 12:41:59 +00:00
R. Ryantm
b824e67750 dhewm3: 1.5.3 -> 1.5.4 2024-08-04 01:16:06 +00: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
aleksana
1a89942243 treewide: sha256 -> hash attribute for gitlab.com fetchers 2024-07-13 22:28:37 +08: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
OPNA2608
abb24383d2 sladeUnstable: unstable-2023-09-30 -> 3.2.4-unstable-2023-09-30 2024-05-05 17:56:39 +02:00
R. Ryantm
01b5d7a05d gzdoom: 4.12.1 -> 4.12.2 2024-05-05 02:27:26 +00:00
github-actions[bot]
ae736c738d
Merge master into staging-next 2024-05-03 12:01:32 +00:00
Weijia Wang
63f95d338b
Merge pull request #308519 from r-ryantm/auto-update/doomretro
doomretro: 5.3 -> 5.4
2024-05-03 10:27:27 +02:00
github-actions[bot]
31135daf48
Merge master into staging-next 2024-05-02 18:01:05 +00:00
R. Ryantm
1f17183869 doomretro: 5.3 -> 5.4 2024-05-02 12:51:59 +00:00
Peder Bergebakken Sundt
db15bbc3d5
treewide: remove unreferenced patch files (#308127)
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2024-05-02 12:41:45 +00:00
K900
a9c7210d0b Merge branch 'master' into staging-next 2024-05-01 09:37:47 +03:00
Peder Bergebakken Sundt
bcc7a9c3c3
Merge pull request #281231 from keenanweaver/doomrunner182
doomrunner: 1.8.1 -> 1.8.2
2024-05-01 03:52:21 +02:00
github-actions[bot]
6fecc628f9
Merge master into staging-next 2024-04-29 12:01:15 +00:00
github-actions[bot]
24c668d7e0
Merge master into staging-next 2024-04-29 00:02:23 +00:00
Artturin
79aa1b2182 maintainers: retire inactive MP2E
their last commit to nixpkgs was in `2019-02-21`
2024-04-29 02:30:00 +03:00
R. Ryantm
3f77d4164f gzdoom: 4.11.3 -> 4.12.1 2024-04-27 23:32:55 +00:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
lassulus
710fd8c330
Merge pull request #271502 from souxd/update-doomseeker
doomseeker: 2018-03-05 -> 2023-08-09
2024-04-13 15:45:33 +02:00
lassulus
ee1c8e6794
Merge pull request #271501 from souxd/init-zandronum-alpha
zandronum-alpha: init at 3.2-230709-1914
2024-04-13 15:45:21 +02:00
R. Ryantm
f37744a597 dhewm3: 1.5.2 -> 1.5.3 2024-03-29 14:02:55 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
8c43108d44 doomretro: 5.2.1 -> 5.3 2024-03-03 03:14:42 +00:00
Weijia Wang
81693fc4b3
Merge pull request #276565 from Gliczy/slade
slade: 3.2.4 -> 3.2.5; fix GIO related crashes; fix wayland
2024-03-02 14:06:03 +01:00
Gliczy
17783e08cd slade: set GDK_BACKEND to x11
Slade has major issues when running in native Wayland:
- The 3D view in the map editor is "spinning", making it unusable.
- The UI will freeze when trying to preview or edit an asset.
- Some crashes
2024-01-23 15:18:26 +01:00
Gliczy
ec1754f86b slade: fix GLib-GIO-ERROR
Prevent crash when opening a file or directory.
2024-01-23 15:06:38 +01:00
Gliczy
6ab5992b6f slade: 3.2.4 -> 3.2.5
Remove the old `postPatch` for non-x86 systems as upstream implemented a check.
Add fix for PK3 destination.
2024-01-23 15:00:03 +01:00
R. Ryantm
c3965ea5e5 doomretro: 5.2 -> 5.2.1 2024-01-19 19:00:50 +00:00
Keenan Weaver
274b5b5b3d
doomrunner: bump to 1.8.2 2024-01-15 16:52:54 -06:00
R. Ryantm
7dfb2c9a46 doomretro: 5.1.3 -> 5.2 2024-01-06 19:19:29 +00:00
Weijia Wang
a5f7571036
Merge pull request #276362 from r-ryantm/auto-update/enyo-launcher
enyo-launcher: 2.0.5 -> 2.0.6
2024-01-03 18:52:39 +01:00
R. Ryantm
c0d1d6a293 doomretro: 5.1.1 -> 5.1.3 2023-12-25 16:52:12 +00:00
R. Ryantm
bd067eabe5 enyo-launcher: 2.0.5 -> 2.0.6 2023-12-23 20:02:18 +00:00
R. Ryantm
3e92c6f562 doomretro: 5.0.7 -> 5.1.1 2023-12-14 11:53:00 +00:00
souxd
547fea8f6f doomseeker: 2018-03-05 -> 2023-08-09
new file:   pkgs/games/doom-ports/doomseeker/add_gitinfo.patch
	modified:   pkgs/games/doom-ports/doomseeker/default.nix
	new file:   pkgs/games/doom-ports/doomseeker/dont_update_gitinfo.patch
	modified:   pkgs/games/doom-ports/doomseeker/fix_paths.patch
2023-12-01 15:04:30 -03:00
souxd
125fc57962 zandronum-alpha: init at 3.2-230709-1914
new file:   pkgs/games/doom-ports/zandronum/alpha/add_gitinfo.patch
	new file:   pkgs/games/doom-ports/zandronum/alpha/default.nix
	new file:   pkgs/games/doom-ports/zandronum/alpha/dont_update_gitinfo.patch
	new file:   pkgs/games/doom-ports/zandronum/alpha/zan_configure_impurity.patch
	modified:   pkgs/top-level/all-packages.nix
2023-12-01 14:59:56 -03:00
souxd
5647d108b3 zandronum: 3.0.1 -> 3.1.0
Changes to be committed:
	modified:   pkgs/games/doom-ports/zandronum/add_gitinfo.patch
	modified:   pkgs/games/doom-ports/zandronum/default.nix
	modified:   pkgs/games/doom-ports/zandronum/dont_update_gitinfo.patch
	modified:   pkgs/games/doom-ports/zandronum/sqlite.nix
	modified:   pkgs/games/doom-ports/zandronum/zan_configure_impurity.patch
2023-12-01 14:45:09 -03:00