Commit Graph

234 Commits

Author SHA1 Message Date
Silvan Mosberger
776b0b45a3 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 f84e54abd3
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:22:27 +01:00
Morgan Jones
bcf1294bff dfhack: 50.13-r2.1 -> 50.13-r3
(cherry picked from commit 12789d6559)
2024-07-14 01:19:07 +00:00
Morgan Jones
6cceff78dc dwarf-fortress: remove unused dependencies
(cherry picked from commit 37cd3a3f20)
2024-07-14 01:19:06 +00:00
Morgan Jones
c6d3abc197 dwarf-fortress: darwin libs
(cherry picked from commit bcde7a9d68)
2024-07-14 01:19:06 +00:00
Morgan Jones
99a93c353a dwarf-fortress: wrapper: fix Darwin compatibility
(cherry picked from commit b0cf365258)
2024-07-14 01:19:06 +00:00
Morgan Jones
dcae0567a1 dwarf-fortress: run postUnpack on darwin
(cherry picked from commit 3b7edb3eed)
2024-07-14 01:19:06 +00:00
Morgan Jones
4e7782051c dwarf-fortress: fix eval on darwin
(cherry picked from commit 880bea37bd)
2024-07-14 01:19:06 +00:00
Morgan Jones
2bb5cb4f2f dfhack: 50.13-r1.1 -> 50.13-r2.1
(cherry picked from commit d2111b0cbb)
2024-07-14 01:19:06 +00:00
Paul Meyer
c908aa4ffd
treewide: remove jonringer as package maintainer
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
(cherry picked from commit fbe8538aa1)
2024-07-05 15:52:33 -04:00
Morgan Jones
bbc4836a61
dwarf-therapist: remove texlive build-input 2024-05-05 23:43:16 -07:00
Morgan Jones
c2f77d2e09
dwarf-fortress: 50.12 -> 50.13
- dwarf-fortress: 50.12 -> 50.13
- dfhack: init 50.13-r1.1
- dwarf-therapist: 42.1.5 -> 42.1.6
2024-05-05 21:32:29 -07:00
Morgan Jones
e683c1658d
dwarf-fortress: dfhack: update to 50.12-r3 2024-04-11 20:09:06 -07:00
Morgan Jones
91899502a0
dwarf-fortress: address code review feedback 2024-04-11 20:05:50 -07:00
Morgan Jones
e73e690717
dwarf-fortress: update to 50 2024-04-11 20:05:50 -07:00
Morgan Jones
55b7756b7d
dwarf-fortress: df_permission: Renew permission from Tarn for v50
Get permission from Tarn to publish a v50 Dwarf Fortress in nixpkgs.
The last time we did this was in 2010. (moved to df_permission/2010)
2024-04-11 20:05:49 -07:00
Philip Taron
71488a1fb6 Avoid top-level with ...; in pkgs/games/dwarf-fortress/unfuck.nix 2024-03-31 00:42:56 +01:00
Philip Taron
7a546620b2 Avoid top-level with ...; in pkgs/games/dwarf-fortress/twbt/default.nix 2024-03-31 00:42:56 +01:00
Philip Taron
118bbb8bcc Avoid top-level with ...; in pkgs/games/dwarf-fortress/themes/default.nix 2024-03-31 00:42:56 +01:00
Philip Taron
1ed3d42bc1 Avoid top-level with ...; in pkgs/games/dwarf-fortress/lazy-pack.nix 2024-03-31 00:42:56 +01:00
Philip Taron
bb2713d671 Avoid top-level with ...; in pkgs/games/dwarf-fortress/game.nix 2024-03-31 00:42:56 +01:00
Philip Taron
751f1fc693 Avoid top-level with ...; in pkgs/games/dwarf-fortress/dfhack/default.nix 2024-03-31 00:42:56 +01:00
Philip Taron
8f49dedbcb Avoid top-level with ...; in pkgs/games/dwarf-fortress/default.nix 2024-03-31 00:42:56 +01: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
GetPsyched
ae6e632dcf
treewide: update meta.description to fit the guidelines 2024-01-12 21:38:16 +05:30
Adam Joseph
c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
Vincenzo Mantova
8ada8e2b25 dwarf-fortress: replace texlive.combine with texliveBasic.withPackages 2023-11-05 11:56:05 +00:00
Naïm Favier
c95192b996
jq: 1.6 -> 1.7
https://github.com/jqlang/jq/releases/tag/jq-1.7
2023-09-10 12:13:29 +02:00
Naïm Favier
2343d23c44
dwarf-fortress: unfuck unfuck 2023-02-22 13:03:53 +01:00
Naïm Favier
ac0d4f035f
dwarf-fortress: set PRINT_MODE:STANDARD on macOS
Fixes https://github.com/NixOS/nixpkgs/issues/204851
2023-01-24 13:55:01 +01:00
Naïm Favier
b33a7fa3fa
Merge pull request #201568 from ncfavier/df 2022-12-01 11:34:11 +01:00
Naïm Favier
34e0667b74
dwarf-fortress.dfhack: use CXXFLAGS instead of NIX_CFLAGS_COMPILE
See https://github.com/NixOS/nixpkgs/issues/79303.

Avoids warnings about -fpermissive not being a valid C flag.
2022-11-18 10:29:41 +01:00
Naïm Favier
a515239b52
dwarf-fortress,dwarf-fortress.dfhack: add ncfavier as maintainer 2022-11-17 09:50:53 +01:00
Naïm Favier
ab693c7592
dwarf-fortress.dfhack: drop broken versions
These versions don't build because their submodules use `git://` URLs,
which are no longer supported by GitHub.

I don't think there's a reasonable way to work around that since
`fetchgit` doesn't allow patching the source *before* fetching
submodules.
2022-11-17 09:50:53 +01:00
Naïm Favier
e786b3ec21
dwarf-fortress.dfhack: updates and fixes
Updates the release number for the latest two DF versions, and fixes some
older ones.

Notable change from 0.47.05-r7: dfhack.init was moved into
dfhack-config/init.

https://github.com/DFHack/dfhack/releases/tag/0.47.05-r7

https://github.com/DFHack/dfhack/releases/tag/0.47.04-r5
2022-11-17 09:50:52 +01:00
Naïm Favier
cff44486bc
dwarf-fortress: add settings
Adds a `settings` argument to the wrapper allowing to override settings
in `data/init/*.txt`.
2022-11-17 09:50:52 +01:00
Naïm Favier
839fdd101c
dwarf-fortress.dfhack: make overridable
Currently, it is quite hard to override anything about dfhack (for
example, to add plugins at build time), because

1. it is not exposed anywhere, so you have to do something like
   `dwarf-fortress.override (oldArgs: { dfhack = oldArgs.dfhack.override...; })`
2. the final `dfhack` derivation is a `buildEnv`, so `overrideAttrs`
   doesn't work as expected.

This fixes 1 by adding `dfhack` to the wrapper's `passthru`, and 2 by
moving `twbt.lib` (which is the only reason for the dfhack `buildEnv`)
into the wrapper.

Also adds an `extraPackages` argument to the wrapper, and copies `*.init`
files from the env to the DF directory so that we can easily add a
`dfhack.init`.

With these changes, I was able to build dfhack with the dfplex plugin.
2022-11-17 00:06:31 +01:00
Naïm Favier
22b96bfb35
dwarf-therapist: pass through meta 2022-11-16 12:21:34 +01:00
Naïm Favier
67aacbb937
dwarf-therapist: restrict platforms to x86
Avoid trying to build for aarch64 on Hydra. Dwarf Fortress only runs on x86.
2022-11-16 11:59:39 +01:00
Sandro Jäckel
bacd02c315
dwarf-fortress: misc cleanup 2022-10-27 18:57:12 +02:00
Sandro Jäckel
1d67cf2daf
dwarf-fortress-packages.dwarf-fortress: set meta for versioned packages 2022-10-27 18:56:34 +02:00
Sandro Jäckel
5b291004c5
dwarf-fortress: make meta.homepage independent from download page 2022-10-27 18:55:36 +02:00
Sandro Jäckel
cdfd73026a
dwarf-fortress-unfuck: don't overwrite to null on none linux platforms 2022-10-27 18:55:04 +02:00
Josef Kemetmüller
bcd7045998 treewide: Remove now-unneeded LD_LIBRARY_PATH in cmake derivations
Since the setting DCMAKE_SKIP_BUILD_RPATH was disabled, we can now run
the checkPhase of cmake derivations without having to tweak the
LD_LIBRARY_PATH anymore.
2022-07-04 03:49:01 +03:00
Robert Scott
3b6bc4b69c treewide: set sourceProvenance for packages containing downloaded jars
these are the easily identifiable cases and will not be comprehensive
2022-06-04 19:47:57 +01:00
Jonathan Ringer
075f25eb98 dwarf-fortress/dfhack: fix build with gcc 11 2022-04-30 11:00:41 -07:00
Artturin
0f3e905834 dwarf-fortress.themes: add -theme suffix to name 2022-03-25 22:56:26 +02:00
Felix Buehler
4a403f9e33 treewide: rename name to pname&version 2022-01-17 19:09:37 +01:00
Victor Engmark
57b496ea98 misc: Replace tab indentation with spaces
I've tried to be consistent, using four or eight spaces to line up
with existing code.
2021-11-14 16:04:46 +13:00
Sandro Jäckel
8547db919a
treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
Felix Buehler
a7d44252c3 dwarf-fortress: remove phases 2021-08-03 10:47:55 +02:00