depot/third_party/nixpkgs/pkgs/games/mar1d/default.nix
Default email 2189cff663 Project import generated by Copybara.
GitOrigin-RevId: 1fe6ed37fd9beb92afe90671c0c2a662a03463dd
2021-04-24 22:57:28 -05:00

46 lines
1 KiB
Nix

{ stdenv
, lib
, SDL2
, SDL2_mixer
, libGLU
, libconfig
, meson
, ninja
, pkg-config
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "MAR1D";
version = "0.3.0";
src = fetchFromGitHub {
sha256 = "sha256-/QZH2H0PFCLeweXUE11vimLnJTt86PjnTnHC9vWkKsk=";
rev = "v${version}";
repo = "MAR1D";
owner = "Radvendii";
};
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [
SDL2
SDL2_mixer
libconfig
libGLU
];
meta = with lib; {
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.
'';
homepage = "https://mar1d.com";
license = licenses.agpl3;
maintainers = with maintainers; [ taeer ];
platforms = platforms.unix;
};
}