depot/third_party/nixpkgs/pkgs/games/easyrpg-player/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

55 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
}:
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
];
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;
};
}