cutemaze: support darwin
This commit is contained in:
@@ -13,12 +13,16 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ qtsvg ];
|
buildInputs = [ qtsvg ];
|
||||||
|
|
||||||
|
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
mkdir -p $out/Applications
|
||||||
|
mv CuteMaze.app $out/Applications
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://gottcode.org/cutemaze/;
|
homepage = https://gottcode.org/cutemaze/;
|
||||||
description = "Simple, top-down game in which mazes are randomly generated";
|
description = "Simple, top-down game in which mazes are randomly generated";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
# TODO: add darwin once tested
|
platforms = platforms.unix;
|
||||||
platforms = with platforms; linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user