1{ lib
2, stdenv
3, fetchFromGitHub
4, autoreconfHook
5, pkg-config
6, expat
7, icu
8}:
9
10stdenv.mkDerivation rec {
11 pname = "liblcf";
12 version = "0.8";
13
14 src = fetchFromGitHub {
15 owner = "EasyRPG";
16 repo = "liblcf";
17 rev = version;
18 hash = "sha256-jJGIsNw7wplTL5FBWGL8osb9255o9ZaWgl77R+RLDMM=";
19 };
20
21 dtrictDeps = true;
22
23 nativeBuildInputs = [
24 autoreconfHook
25 pkg-config
26 ];
27
28 propagatedBuildInputs = [
29 expat
30 icu
31 ];
32
33 enableParallelBuilding = true;
34 enableParallelChecking = true;
35
36 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
37
38 meta = with lib; {
39 description = "Library to handle RPG Maker 2000/2003 and EasyRPG projects";
40 homepage = "https://github.com/EasyRPG/liblcf";
41 license = licenses.mit;
42 maintainers = [ ];
43 platforms = platforms.all;
44 };
45}