dwarf-therapist: supports darwin
This commit is contained in:
parent
7170ab8433
commit
97e8bcc925
@ -14,11 +14,16 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ qtbase qtdeclarative ];
|
buildInputs = [ qtbase qtdeclarative ];
|
||||||
nativeBuildInputs = [ texlive cmake ninja ];
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "Tool to manage dwarves in in a running game of Dwarf Fortress";
|
description = "Tool to manage dwarves in in a running game of Dwarf Fortress";
|
||||||
maintainers = with maintainers; [ the-kenny abbradar bendlas ];
|
maintainers = with maintainers; [ the-kenny abbradar bendlas ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = [ "x86_64-linux" "i686-linux" ];
|
platforms = platforms.unix;
|
||||||
homepage = https://github.com/Dwarf-Therapist/Dwarf-Therapist;
|
homepage = https://github.com/Dwarf-Therapist/Dwarf-Therapist;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user