1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, expat, icu }:
2
3stdenv.mkDerivation rec {
4 pname = "liblcf";
5 version = "0.7.0";
6
7 src = fetchFromGitHub {
8 owner = "EasyRPG";
9 repo = "liblcf";
10 rev = version;
11 sha256 = "sha256-69cYZ8hJ92gK39gueaEoUM0K7BDWIQ/0NvcQ/6e3Sg8=";
12 };
13
14 nativeBuildInputs = [ autoreconfHook pkg-config ];
15 propagatedBuildInputs = [ expat icu ];
16 enableParallelBuilding = true;
17
18 meta = with lib; {
19 description = "Library to handle RPG Maker 2000/2003 and EasyRPG projects";
20 homepage = "https://github.com/EasyRPG/liblcf";
21 license = licenses.mit;
22 maintainers = with maintainers; [ yana ];
23 platforms = platforms.all;
24 };
25}