about summary refs log tree commit diff
path: root/pkgs/games/dwarf-fortress
AgeCommit message (Collapse)AuthorFilesLines
2023-11-17treewide: s_targetPlatform_hostPlatform_ in non-compiler packagesAdam Joseph1-1/+1
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-05dwarf-fortress: replace texlive.combine with texliveBasic.withPackagesVincenzo Mantova1-4/+2
2023-09-10jq: 1.6 -> 1.7Naïm Favier1-1/+1
https://github.com/jqlang/jq/releases/tag/jq-1.7
2023-02-22dwarf-fortress: unfuck unfuckNaïm Favier1-0/+5
2023-01-24dwarf-fortress: set PRINT_MODE:STANDARD on macOSNaïm Favier1-1/+5
Fixes https://github.com/NixOS/nixpkgs/issues/204851
2022-12-01Merge pull request #201568 from ncfavier/dfNaïm Favier8-132/+115
2022-11-18dwarf-fortress.dfhack: use CXXFLAGS instead of NIX_CFLAGS_COMPILENaïm Favier1-1/+1
See https://github.com/NixOS/nixpkgs/issues/79303. Avoids warnings about -fpermissive not being a valid C flag.
2022-11-17dwarf-fortress,dwarf-fortress.dfhack: add ncfavier as maintainerNaïm Favier2-2/+2
2022-11-17dwarf-fortress.dfhack: drop broken versionsNaïm Favier2-33/+0
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-17dwarf-fortress.dfhack: updates and fixesNaïm Favier3-36/+26
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-17dwarf-fortress: add `settings`Naïm Favier2-34/+64
Adds a `settings` argument to the wrapper allowing to override settings in `data/init/*.txt`.
2022-11-17dwarf-fortress.dfhack: make overridableNaïm Favier4-35/+31
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-16dwarf-therapist: pass through `meta`Naïm Favier1-1/+1
2022-11-16dwarf-therapist: restrict platforms to x86Naïm Favier1-1/+1
Avoid trying to build for aarch64 on Hydra. Dwarf Fortress only runs on x86.
2022-10-27dwarf-fortress: misc cleanupSandro Jäckel1-5/+1
2022-10-27dwarf-fortress-packages.dwarf-fortress: set meta for versioned packagesSandro Jäckel1-0/+2
2022-10-27dwarf-fortress: make meta.homepage independent from download pageSandro Jäckel1-4/+2
2022-10-27dwarf-fortress-unfuck: don't overwrite to null on none linux platformsSandro Jäckel1-4/+1
2022-07-04treewide: Remove now-unneeded LD_LIBRARY_PATH in cmake derivationsJosef Kemetmüller1-4/+0
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-06-04treewide: set sourceProvenance for packages containing downloaded jarsRobert Scott1-0/+1
these are the easily identifiable cases and will not be comprehensive
2022-04-30dwarf-fortress/dfhack: fix build with gcc 11Jonathan Ringer1-0/+3
2022-03-25dwarf-fortress.themes: add -theme suffix to nameArtturin1-1/+1
2022-01-17treewide: rename name to pname&versionFelix Buehler3-3/+6
2021-11-14misc: Replace tab indentation with spacesVictor Engmark1-17/+17
I've tried to be consistent, using four or eight spaces to line up with existing code.
2021-11-03treewide: switch ``builtins.fromJSON(builtins.readFile ./file.json)`` to ↵Sandro Jäckel1-1/+1
lib.importJSON ./file.json
2021-08-03dwarf-fortress: remove phasesFelix Buehler1-1/+0
2021-07-31dwarf-fortress-packages.twbt: Fix twbt version to match tfhack version.Kevin Cox1-2/+2
Otherwise you get an error upon starting the game: ``` Plugin twbt was not built for this version of DFHack. Plugin: 0.47.05-beta1, DFHack: 0.47.05-r1 ```
2021-07-11dwarf-fortress/themes: updateJonathan Ringer1-20/+20
2021-07-11dwarf-fortress/twbt: add 0.47.05 supportJonathan Ringer1-0/+6
2021-07-11dwarf-fortress/dfhack: add 0.47.05-r1Jonathan Ringer1-0/+7
2021-07-11dwarf-fortress/unfuck: add 0.47.05Jonathan Ringer1-2/+12
2021-07-11dwarf-fortress: 0.47.04 -> 0.47.05Jonathan Ringer3-2/+17
2021-06-30dwarf-fortress: refactorArtturin13-154/+255
2021-06-16dwarf-therapist: 41.1.5 -> 41.2.2Jonathan Ringer1-2/+2
2021-03-04Merge branch 'staging-next' into stagingJan Tojnar1-1/+1
2021-03-04treewide: remove stdenv where not neededBen Siraphob1-1/+1
2021-02-20treewide: unzip buildInputs to nativeBuildInputs (#112302)Ben Siraphob1-1/+1
2021-02-19treewide: makeWrapper buildInputs to nativeBuildInputsBen Siraphob1-1/+1
2021-01-25qtbase: Check for wrapQtAppsHook in setupHookThomas Tuegel1-0/+2
2021-01-20treewide: editorconfig fixeszowoq3-4/+4
- remove trailing whitespace - use spaces for indentation
2021-01-17pkgs/data, pkgs/games: [sS]tdenv.*lib -> libBen Siraphob3-4/+4
2021-01-11treewide: with stdenv.lib; in meta -> with lib;Profpatsch3-4/+4
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-03treewide: remove enableParallelBuilding = true if using cmakeBen Siraphob2-3/+0
2020-09-20Merge pull request #98229 from bbigras/dfMario Rodas1-22/+32
dwarf-fortress: update themes.json
2020-09-19dwarf-fortress: use jdk8Gabriel Ebner1-1/+5
2020-09-18dwarf-fortress: update themes.jsonBruno Bigras1-22/+32
2020-08-21dwarf-fortress: TWBT: use fork for dfhack 0.47.04 supportCole Helbling1-4/+9
The original mifki TWBT hasn't been updated since April 2019, while thurin's fork has added support for dfhack 0.47.04-r2. Thus, switch to thurin's fork when Dwarf Fortress 0.47.04 is used (and ever-so-slightly special case the url attribute).
2020-08-21dfhack: fix ruby pluginCole Helbling1-1/+7
dfhack expects an unversioned libruby.so to be present in the hack subdirectory for ruby plugins to function. The glob is necessary, because the ruby package's library names are formatted as ruby-${version}.so for whatever reason. The glob makes it possible for ruby to update without manual intervention being needed here.
2020-08-21dfhack: 0.47.04-alpha0 -> 0.47.04-r2Cole Helbling2-5/+18
As of https://github.com/DFHack/dfhack/commit/56e43a0dde023c5a4595a22b29d800153b31e3c4, dfhack gets its goodies from the directory above the Dwarf_Fortress executable, which leads to stock Dwarf Fortress and not the built environment where all the dfhack resources are symlinked to (typically ~/.local/share/df_linux). This causes errors like `tweak is not a recognized command` to be reported and dfhack to lose some of its functionality.
2020-05-17add `enableSound` parameter to `dwarf-fortress` derivationMatthew Piziak2-2/+5
try hardcoding add back whitespace