Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 53 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 nix-update-script, 6 autoreconfHook, 7 pkg-config, 8 expat, 9 icu74, 10 inih, 11}: 12 13stdenv.mkDerivation rec { 14 pname = "liblcf"; 15 # When updating this package, you should probably also update 16 # easyrpg-player and libretro.easyrpg 17 version = "0.8.1"; 18 19 src = fetchFromGitHub { 20 owner = "EasyRPG"; 21 repo = "liblcf"; 22 rev = version; 23 hash = "sha256-jIk55+n8wSk3Z3FPR18SE7U3OuWwmp2zJgvSZQBB2l0="; 24 }; 25 26 strictDeps = true; 27 28 nativeBuildInputs = [ 29 autoreconfHook 30 pkg-config 31 ]; 32 33 propagatedBuildInputs = [ 34 expat 35 icu74 36 inih 37 ]; 38 39 enableParallelBuilding = true; 40 enableParallelChecking = true; 41 42 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; 43 44 passthru.updateScript = nix-update-script { }; 45 46 meta = with lib; { 47 description = "Library to handle RPG Maker 2000/2003 and EasyRPG projects"; 48 homepage = "https://github.com/EasyRPG/liblcf"; 49 license = licenses.mit; 50 maintainers = [ ]; 51 platforms = platforms.all; 52 }; 53}