Merge pull request #119979 from Radvendii/mar1d-bump
mar1d: 0.2.0 -> 0.3.0
This commit is contained in:
commit
6942038dbf
|
@ -1,58 +1,34 @@
|
||||||
{ lib, stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, lib
|
||||||
, cmake
|
, SDL2
|
||||||
|
, SDL2_mixer
|
||||||
, libGLU
|
, libGLU
|
||||||
, xlibsWrapper
|
, libconfig
|
||||||
, xorg
|
, meson
|
||||||
, xinput_calibrator
|
, ninja
|
||||||
, doxygen
|
, pkg-config
|
||||||
, libpthreadstubs
|
, fetchFromGitHub
|
||||||
, alsaLib
|
|
||||||
, alsaOss
|
|
||||||
, libao
|
|
||||||
, width ? 30
|
|
||||||
, mute ? false
|
|
||||||
, effects ? false
|
|
||||||
, sensitivity ? 5
|
|
||||||
, reverseY ? false
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "MAR1D";
|
pname = "MAR1D";
|
||||||
version = "0.2.0";
|
version = "0.3.0";
|
||||||
options = "-w${toString width}"
|
|
||||||
+ " -s${toString sensitivity}"
|
|
||||||
+ (if mute then " -m" else "")
|
|
||||||
+ (if effects then " -f" else "")
|
|
||||||
+ (if reverseY then " -r" else "");
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
sha256 = "152w5dnlxzv60cl24r5cmrj2q5ar0jiimrmxnp87kf4d2dpbnaq7";
|
sha256 = "sha256-/QZH2H0PFCLeweXUE11vimLnJTt86PjnTnHC9vWkKsk=";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
repo = "fp_mario";
|
repo = "MAR1D";
|
||||||
owner = "olynch";
|
owner = "Radvendii";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
[
|
|
||||||
alsaLib
|
|
||||||
alsaOss
|
|
||||||
cmake
|
|
||||||
doxygen
|
|
||||||
libao
|
|
||||||
libpthreadstubs
|
|
||||||
libGLU
|
|
||||||
xlibsWrapper
|
|
||||||
xinput_calibrator
|
|
||||||
xorg.libXrandr
|
|
||||||
xorg.libXi
|
|
||||||
xorg.xinput
|
|
||||||
xorg.libXxf86vm
|
|
||||||
];
|
|
||||||
|
|
||||||
preConfigure = ''
|
buildInputs = [
|
||||||
cd src
|
SDL2
|
||||||
'';
|
SDL2_mixer
|
||||||
|
libconfig
|
||||||
|
libGLU
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "First person Super Mario Bros";
|
description = "First person Super Mario Bros";
|
||||||
|
@ -62,9 +38,9 @@ stdenv.mkDerivation rec {
|
||||||
original, however, the game still takes place in a two dimensional world.
|
original, however, the game still takes place in a two dimensional world.
|
||||||
You must view the world as mario does, as a one dimensional line.
|
You must view the world as mario does, as a one dimensional line.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/olynch/fp_mario";
|
homepage = "https://mar1d.com";
|
||||||
license = licenses.agpl3;
|
license = licenses.agpl3;
|
||||||
maintainers = with maintainers; [ taeer ];
|
maintainers = with maintainers; [ taeer ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue