2021-04-20 21:45:30 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, SDL2
|
|
|
|
, SDL2_mixer
|
2018-02-24 12:59:47 +00:00
|
|
|
, libGLU
|
2021-04-20 21:45:30 +01:00
|
|
|
, libconfig
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, fetchFromGitHub
|
2016-11-10 22:11:39 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "MAR1D";
|
2021-04-20 21:45:30 +01:00
|
|
|
version = "0.3.0";
|
2016-11-10 22:11:39 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-04-20 21:45:30 +01:00
|
|
|
sha256 = "sha256-/QZH2H0PFCLeweXUE11vimLnJTt86PjnTnHC9vWkKsk=";
|
2016-11-10 22:11:39 +00:00
|
|
|
rev = "v${version}";
|
2021-04-20 21:45:30 +01:00
|
|
|
repo = "MAR1D";
|
|
|
|
owner = "Radvendii";
|
2016-11-10 22:11:39 +00:00
|
|
|
};
|
|
|
|
|
2021-04-20 21:45:30 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
2016-11-10 22:11:39 +00:00
|
|
|
|
2021-04-20 21:45:30 +01:00
|
|
|
buildInputs = [
|
|
|
|
SDL2
|
|
|
|
SDL2_mixer
|
|
|
|
libconfig
|
|
|
|
libGLU
|
|
|
|
];
|
2016-11-10 22:11:39 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-11-10 22:11:39 +00:00
|
|
|
description = "First person Super Mario Bros";
|
|
|
|
longDescription = ''
|
|
|
|
The original Super Mario Bros as you've never seen it. Step into Mario's
|
|
|
|
shoes in this first person clone of the classic Mario game. True to the
|
|
|
|
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.
|
|
|
|
'';
|
2021-04-20 21:45:30 +01:00
|
|
|
homepage = "https://mar1d.com";
|
2016-11-10 22:11:39 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = with maintainers; [ taeer ];
|
2021-04-20 21:45:30 +01:00
|
|
|
platforms = platforms.unix;
|
2016-11-10 22:11:39 +00:00
|
|
|
};
|
|
|
|
}
|