depot/third_party/nixpkgs/pkgs/games/easyrpg-player/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

57 lines
1.2 KiB
Nix

{ lib, stdenv, fetchFromGitHub, cmake, doxygen ? null, pkg-config
, freetype ? null, fmt, glib, harfbuzz ? null
, liblcf, libpng, libsndfile ? null, libvorbis ? null, libxmp ? null
, libXcursor, libXext, libXi, libXinerama, libXrandr, libXScrnSaver, libXxf86vm
, mpg123 ? null, opusfile ? null, pcre, pixman, SDL2, speexdsp ? null, wildmidi ? null, zlib
, libdecor
}:
stdenv.mkDerivation rec {
pname = "easyrpg-player";
version = "0.7.0";
src = fetchFromGitHub {
owner = "EasyRPG";
repo = "Player";
rev = version;
sha256 = "049bj3jg3ldi3n11nx8xvh6pll68g7dcxz51q6z1gyyfxxws1qpj";
};
nativeBuildInputs = [ cmake doxygen pkg-config ];
buildInputs = [
fmt
freetype
glib
harfbuzz
liblcf
libpng
libsndfile
libvorbis
libxmp
libXcursor
libXext
libXi
libXinerama
libXrandr
libXScrnSaver
libXxf86vm
mpg123
opusfile
pcre
pixman
SDL2
speexdsp
wildmidi
zlib
libdecor
];
meta = with lib; {
description = "RPG Maker 2000/2003 and EasyRPG games interpreter";
homepage = "https://easyrpg.org/";
license = licenses.gpl3;
maintainers = with maintainers; [ yana ];
platforms = platforms.linux;
};
}