diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-10 19:21:36 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-10 19:23:11 -0400 |
commit | 97e8bcc925c6c848bf22c75daaa66f7eff1e2101 (patch) | |
tree | 30d5ddf75b434330fd9c7df7d71a3602a6739a06 /pkgs/games/dwarf-fortress | |
parent | 7170ab84339708b96bf12a912a36d6e0e1f712bb (diff) |
dwarf-therapist: supports darwin
Diffstat (limited to 'pkgs/games/dwarf-fortress')
-rw-r--r-- | pkgs/games/dwarf-fortress/dwarf-therapist/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix b/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix index 2e54258c4be99..305f3cdb1fa38 100644 --- a/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix +++ b/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix @@ -14,11 +14,16 @@ stdenv.mkDerivation rec { buildInputs = [ qtbase qtdeclarative ]; nativeBuildInputs = [ texlive cmake ninja ]; + installPhase = if stdenv.isDarwin then '' + mkdir -p $out/Applications + cp -r DwarfTherapist.app $out/Applications + '' else null; + meta = with stdenv.lib; { description = "Tool to manage dwarves in in a running game of Dwarf Fortress"; maintainers = with maintainers; [ the-kenny abbradar bendlas ]; license = licenses.mit; - platforms = [ "x86_64-linux" "i686-linux" ]; + platforms = platforms.unix; homepage = https://github.com/Dwarf-Therapist/Dwarf-Therapist; }; } |