git.iko.soy/typeable/nixpkgs
on master help sign in
dwarf-therapist: supports darwin
commit97e8bcc925c6c848bf22c75daaa66f7eff1e2101 authorMatthew Bauer <mjbauer95@gmail.com> dateSun 10 Jun 2018, 19:21 (8 years ago) parent7170ab8
1 file changed+6−1
pkgs/games/dwarf-fortress/dwarf-therapist/default.nix+6−1
pkgs/games/dwarf-fortress/dwarf-therapist/default.nix+6−1
@@ -14,11 +14,16 @@ stdenv.mkDerivation rec {
1414 buildInputs = [ qtbase qtdeclarative ];
1515 nativeBuildInputs = [ texlive cmake ninja ];
1616
17+ installPhase = if stdenv.isDarwin then ''
18+ mkdir -p $out/Applications
19+ cp -r DwarfTherapist.app $out/Applications
20+ '' else null;
21+
1722 meta = with stdenv.lib; {
1823 description = "Tool to manage dwarves in in a running game of Dwarf Fortress";
1924 maintainers = with maintainers; [ the-kenny abbradar bendlas ];
2025 license = licenses.mit;
21− platforms = [ "x86_64-linux" "i686-linux" ];
26+ platforms = platforms.unix;
2227 homepage = https://github.com/Dwarf-Therapist/Dwarf-Therapist;
2328 };
2429}