summaryrefslogtreecommitdiffstats
path: root/pkgs/games/dwarf-fortress
AgeCommit message (Collapse)Author
2022-12-01Merge pull request #201568 from ncfavier/dfNaïm Favier
2022-11-18dwarf-fortress.dfhack: use CXXFLAGS instead of NIX_CFLAGS_COMPILENaïm Favier
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 Favier
2022-11-17dwarf-fortress.dfhack: drop broken versionsNaïm Favier
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 Favier
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 Favier
Adds a `settings` argument to the wrapper allowing to override settings in `data/init/*.txt`.
2022-11-17dwarf-fortress.dfhack: make overridableNaïm Favier
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 Favier
2022-11-16dwarf-therapist: restrict platforms to x86Naïm Favier
Avoid trying to build for aarch64 on Hydra. Dwarf Fortress only runs on x86.
2022-10-27dwarf-fortress: misc cleanupSandro Jäckel
2022-10-27dwarf-fortress-packages.dwarf-fortress: set meta for versioned packagesSandro Jäckel
2022-10-27dwarf-fortress: make meta.homepage independent from download pageSandro Jäckel
2022-10-27dwarf-fortress-unfuck: don't overwrite to null on none linux platformsSandro Jäckel
2022-07-04treewide: Remove now-unneeded LD_LIBRARY_PATH in cmake derivationsJosef Kemetmüller
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 Scott
these are the easily identifiable cases and will not be comprehensive
2022-04-30dwarf-fortress/dfhack: fix build with gcc 11Jonathan Ringer
2022-03-25dwarf-fortress.themes: add -theme suffix to nameArtturin
2022-01-17treewide: rename name to pname&versionFelix Buehler
2021-11-14misc: Replace tab indentation with spacesVictor Engmark
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äckel
lib.importJSON ./file.json
2021-08-03dwarf-fortress: remove phasesFelix Buehler
2021-07-31dwarf-fortress-packages.twbt: Fix twbt version to match tfhack version.Kevin Cox
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 Ringer
2021-07-11dwarf-fortress/twbt: add 0.47.05 supportJonathan Ringer
2021-07-11dwarf-fortress/dfhack: add 0.47.05-r1Jonathan Ringer
2021-07-11dwarf-fortress/unfuck: add 0.47.05Jonathan Ringer
2021-07-11dwarf-fortress: 0.47.04 -> 0.47.05Jonathan Ringer
2021-06-30dwarf-fortress: refactorArtturin
2021-06-16dwarf-therapist: 41.1.5 -> 41.2.2Jonathan Ringer
2021-03-04Merge branch 'staging-next' into stagingJan Tojnar
2021-03-04treewide: remove stdenv where not neededBen Siraphob
2021-02-20treewide: unzip buildInputs to nativeBuildInputs (#112302)Ben Siraphob
2021-02-19treewide: makeWrapper buildInputs to nativeBuildInputsBen Siraphob
2021-01-25qtbase: Check for wrapQtAppsHook in setupHookThomas Tuegel
2021-01-20treewide: editorconfig fixeszowoq
- remove trailing whitespace - use spaces for indentation
2021-01-17pkgs/data, pkgs/games: [sS]tdenv.*lib -> libBen Siraphob
2021-01-11treewide: with stdenv.lib; in meta -> with lib;Profpatsch
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 Siraphob
2020-09-20Merge pull request #98229 from bbigras/dfMario Rodas
dwarf-fortress: update themes.json
2020-09-19dwarf-fortress: use jdk8Gabriel Ebner
2020-09-18dwarf-fortress: update themes.jsonBruno Bigras
2020-08-21dwarf-fortress: TWBT: use fork for dfhack 0.47.04 supportCole Helbling
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 Helbling
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 Helbling
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 Piziak
try hardcoding add back whitespace
2020-05-09treewide: remove the-kenny from maintainersJörg Thalheim
@the-kenny did a good job in the past and is set as maintainer in many package, however since 2017-2018 he stopped contributing. To create less confusion in pull requests when people try to request his feedback, I removed him as maintainer from all packages.
2020-05-03treewide: use https for nixos.org and hydra.nixos.orgPavol Rusnak
tarballs.nixos.org is omitted from the change because urls from there are always hashed and checked
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly
2020-03-13dwarf-fortress: 0.47.02 -> 0.47.04Jonathan Ringer
2020-03-13dwarf-therapist: 41.1.3 -> 41.1.5Jonathan Ringer