12 stdenv.mkDerivation rec {
17 url = "https://gottcode.org/cutemaze/${pname}-${version}.tar.bz2";
18 hash = "sha256-hjDlY18O+VDJR68vwrIZwsQAa40xU+V3bCAA4GFHJEQ=";
30 ] ++ lib.optionals stdenv.isLinux [
34 installPhase = if stdenv.isDarwin then ''
37 mkdir -p $out/Applications
38 mv CuteMaze.app $out/Applications
39 makeWrapper $out/Applications/CuteMaze.app/Contents/MacOS/CuteMaze $out/bin/cutemaze
45 changelog = "https://github.com/gottcode/cutemaze/blob/v${version}/ChangeLog";
46 description = "Simple, top-down game in which mazes are randomly generated";
47 homepage = "https://gottcode.org/cutemaze/";
48 license = licenses.gpl3Plus;
49 maintainers = with maintainers; [ dotlambda ];
50 platforms = platforms.unix;