nixpkgs/pkgs/games/mar1d/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1 KiB
Nix
Raw Normal View History

2021-04-20 22:45:30 +02:00
{ stdenv
, lib
, SDL2
, SDL2_mixer
, libGLU
2021-04-20 22:45:30 +02:00
, libconfig
, meson
, ninja
, pkg-config
, fetchFromGitHub
2016-11-10 23:11:39 +01:00
}:
stdenv.mkDerivation rec {
pname = "MAR1D";
2021-04-20 22:45:30 +02:00
version = "0.3.0";
2016-11-10 23:11:39 +01:00
src = fetchFromGitHub {
2021-04-20 22:45:30 +02:00
sha256 = "sha256-/QZH2H0PFCLeweXUE11vimLnJTt86PjnTnHC9vWkKsk=";
2016-11-10 23:11:39 +01:00
rev = "v${version}";
2021-04-20 22:45:30 +02:00
repo = "MAR1D";
owner = "Radvendii";
2016-11-10 23:11:39 +01:00
};
2021-04-20 22:45:30 +02:00
nativeBuildInputs = [ meson ninja pkg-config ];
2016-11-10 23:11:39 +01:00
2021-04-20 22:45:30 +02:00
buildInputs = [
SDL2
SDL2_mixer
libconfig
libGLU
];
2016-11-10 23:11:39 +01:00
meta = with lib; {
2016-11-10 23:11:39 +01: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 22:45:30 +02:00
homepage = "https://mar1d.com";
2016-11-10 23:11:39 +01:00
license = licenses.agpl3;
maintainers = with maintainers; [ taeer ];
2021-04-20 22:45:30 +02:00
platforms = platforms.unix;
2016-11-10 23:11:39 +01:00
};
}