btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / li / liblcf / package.nix
blob07f24f4d5a06aa8739df33e3dd2a23df1daf2e8f
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , autoreconfHook
5 , pkg-config
6 , expat
7 , icu
8 }:
10 stdenv.mkDerivation rec {
11   pname = "liblcf";
12   version = "0.8";
14   src = fetchFromGitHub {
15     owner = "EasyRPG";
16     repo = "liblcf";
17     rev = version;
18     hash = "sha256-jJGIsNw7wplTL5FBWGL8osb9255o9ZaWgl77R+RLDMM=";
19   };
21   dtrictDeps = true;
23   nativeBuildInputs = [
24     autoreconfHook
25     pkg-config
26   ];
28   propagatedBuildInputs = [
29     expat
30     icu
31   ];
33   enableParallelBuilding = true;
34   enableParallelChecking = true;
36   doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
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   };