lol

Merge pull request #20317 from Radvendii/master

MAR1D: init at 0.2.0

authored by

Joachim F and committed by
GitHub
df5329e1 1035af47

+71
+69
pkgs/games/mar1d/default.nix
··· 1 + { stdenv 2 + , fetchFromGitHub 3 + , cmake 4 + , mesa_glu 5 + , x11 6 + , xorg 7 + , xinput_calibrator 8 + , doxygen 9 + , libpthreadstubs 10 + , alsaLib 11 + , alsaOss 12 + , libao 13 + , width ? 30 14 + , mute ? false 15 + , effects ? false 16 + , sensitivity ? 5 17 + , reverseY ? false 18 + }: 19 + 20 + stdenv.mkDerivation rec { 21 + name = "MAR1D-${version}"; 22 + version = "0.2.0"; 23 + options = "-w${toString width}" 24 + + " -s${toString sensitivity}" 25 + + (if mute then " -m" else "") 26 + + (if effects then " -f" else "") 27 + + (if reverseY then " -r" else ""); 28 + 29 + src = fetchFromGitHub { 30 + sha256 = "152w5dnlxzv60cl24r5cmrj2q5ar0jiimrmxnp87kf4d2dpbnaq7"; 31 + rev = "v${version}"; 32 + repo = "fp_mario"; 33 + owner = "olynch"; 34 + }; 35 + 36 + buildInputs = 37 + [ 38 + alsaLib 39 + alsaOss 40 + cmake 41 + doxygen 42 + libao 43 + libpthreadstubs 44 + mesa_glu 45 + x11 46 + xinput_calibrator 47 + xorg.libXrandr 48 + xorg.libXi 49 + xorg.xinput 50 + ]; 51 + 52 + preConfigure = '' 53 + cd src 54 + ''; 55 + 56 + meta = with stdenv.lib; { 57 + description = "First person Super Mario Bros"; 58 + longDescription = '' 59 + The original Super Mario Bros as you've never seen it. Step into Mario's 60 + shoes in this first person clone of the classic Mario game. True to the 61 + original, however, the game still takes place in a two dimensional world. 62 + You must view the world as mario does, as a one dimensional line. 63 + ''; 64 + homepage = https://github.com/olynch/fp_mario; 65 + license = licenses.agpl3; 66 + maintainers = with maintainers; [ taeer ]; 67 + platforms = platforms.linux; 68 + }; 69 + }
+2
pkgs/top-level/all-packages.nix
··· 1064 1064 hiredis = null; 1065 1065 }; 1066 1066 1067 + mar1d = callPackage ../games/mar1d { } ; 1068 + 1067 1069 mcrypt = callPackage ../tools/misc/mcrypt { }; 1068 1070 1069 1071 mongodb-tools = callPackage ../tools/misc/mongodb-tools { };