mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
54 lines
1.0 KiB
Nix
54 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
expat,
|
|
icu74,
|
|
inih,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "liblcf";
|
|
# When updating this package, you should probably also update
|
|
# easyrpg-player and libretro.easyrpg
|
|
version = "0.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EasyRPG";
|
|
repo = "liblcf";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-jIk55+n8wSk3Z3FPR18SE7U3OuWwmp2zJgvSZQBB2l0=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
expat
|
|
icu74
|
|
inih
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
enableParallelChecking = true;
|
|
|
|
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Library to handle RPG Maker 2000/2003 and EasyRPG projects";
|
|
homepage = "https://github.com/EasyRPG/liblcf";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|