solarus: move to multiple outputs
motivation: Let solarus-quest-editor require only required bits
This commit is contained in:
parent
9950899236
commit
9f930f68c0
@ -1,26 +1,34 @@
|
||||
{ lib, mkDerivation, fetchFromGitLab, cmake, luajit,
|
||||
SDL2, SDL2_image, SDL2_ttf, physfs,
|
||||
openal, libmodplug, libvorbis,
|
||||
qtbase, qttools }:
|
||||
{ lib, mkDerivation, fetchFromGitLab, cmake, luajit
|
||||
, SDL2, SDL2_image, SDL2_ttf, physfs, glm
|
||||
, openal, libmodplug, libvorbis
|
||||
, qtbase, qttools }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "solarus";
|
||||
version = "1.6.2";
|
||||
version = "1.6.4";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "solarus-games";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0d0xfjbmamz84aajxfc0fwrj8862xxbxz6n4xnc05r1m4g7gba77";
|
||||
sha256 = "sbdlf+R9OskDQ5U5rqUX2gF8l/fj0sDJv6BL7H1I1Ng=";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake luajit SDL2
|
||||
outputs = [ "out" "lib" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ cmake qttools ];
|
||||
buildInputs = [ luajit SDL2
|
||||
SDL2_image SDL2_ttf physfs
|
||||
openal libmodplug libvorbis
|
||||
qtbase qttools ];
|
||||
qtbase glm ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
mkdir $lib/
|
||||
mv $out/lib $lib
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Zelda-like ARPG game engine";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user