lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 52 lines 1.1 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, cmake 5, qttools 6, wrapQtAppsHook 7, qtbase 8, qtwayland 9, qtsvg 10}: 11 12stdenv.mkDerivation rec { 13 pname = "cutemaze"; 14 version = "1.3.2"; 15 16 src = fetchurl { 17 url = "https://gottcode.org/cutemaze/${pname}-${version}.tar.bz2"; 18 hash = "sha256-hjDlY18O+VDJR68vwrIZwsQAa40xU+V3bCAA4GFHJEQ="; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 qttools 24 wrapQtAppsHook 25 ]; 26 27 buildInputs = [ 28 qtbase 29 qtsvg 30 ] ++ lib.optionals stdenv.isLinux [ 31 qtwayland 32 ]; 33 34 installPhase = if stdenv.isDarwin then '' 35 runHook preInstall 36 37 mkdir -p $out/Applications 38 mv CuteMaze.app $out/Applications 39 makeWrapper $out/Applications/CuteMaze.app/Contents/MacOS/CuteMaze $out/bin/cutemaze 40 41 runHook postInstall 42 '' else null; 43 44 meta = with lib; { 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; 51 }; 52}