about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/liblcf
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/liblcf')
-rw-r--r--nixpkgs/pkgs/development/libraries/liblcf/default.nix45
1 files changed, 45 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/liblcf/default.nix b/nixpkgs/pkgs/development/libraries/liblcf/default.nix
new file mode 100644
index 000000000000..b91b6ea709ad
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/liblcf/default.nix
@@ -0,0 +1,45 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, autoreconfHook
+, pkg-config
+, expat
+, icu
+}:
+
+stdenv.mkDerivation rec {
+  pname = "liblcf";
+  version = "0.8";
+
+  src = fetchFromGitHub {
+    owner = "EasyRPG";
+    repo = "liblcf";
+    rev = version;
+    hash = "sha256-jJGIsNw7wplTL5FBWGL8osb9255o9ZaWgl77R+RLDMM=";
+  };
+
+  dtrictDeps = true;
+
+  nativeBuildInputs = [
+    autoreconfHook
+    pkg-config
+  ];
+
+  propagatedBuildInputs = [
+    expat
+    icu
+  ];
+
+  enableParallelBuilding = true;
+  enableParallelChecking = true;
+
+  doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
+
+  meta = with lib; {
+    description = "Library to handle RPG Maker 2000/2003 and EasyRPG projects";
+    homepage = "https://github.com/EasyRPG/liblcf";
+    license = licenses.mit;
+    maintainers = with maintainers; [ yana ];
+    platforms = platforms.all;
+  };
+}