diff options
author | Nathan Moore <nathanmoore@cox.net> | 2016-07-27 09:49:02 -0700 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2016-07-27 18:49:02 +0200 |
commit | 251a1ccf55d34aa0da7ecc4ac96f9f741e343ceb (patch) | |
tree | 2a23f63298542516b6970390c38f52142f5af41c /pkgs/development/tools | |
parent | 1a24de7c16a75c523b32306ae40b1c949e763fe0 (diff) | |
download | nixlib-251a1ccf55d34aa0da7ecc4ac96f9f741e343ceb.tar nixlib-251a1ccf55d34aa0da7ecc4ac96f9f741e343ceb.tar.gz nixlib-251a1ccf55d34aa0da7ecc4ac96f9f741e343ceb.tar.bz2 nixlib-251a1ccf55d34aa0da7ecc4ac96f9f741e343ceb.tar.lz nixlib-251a1ccf55d34aa0da7ecc4ac96f9f741e343ceb.tar.xz nixlib-251a1ccf55d34aa0da7ecc4ac96f9f741e343ceb.tar.zst nixlib-251a1ccf55d34aa0da7ecc4ac96f9f741e343ceb.zip |
solarus-quest-editor: init at 1.4.5 (#17286)
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/solarus-quest-editor/default.nix | 37 | ||||
-rw-r--r-- | pkgs/development/tools/solarus-quest-editor/patches/fix-install.patch | 16 |
2 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/development/tools/solarus-quest-editor/default.nix b/pkgs/development/tools/solarus-quest-editor/default.nix new file mode 100644 index 000000000000..3df6d3de3e16 --- /dev/null +++ b/pkgs/development/tools/solarus-quest-editor/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub, cmake, luajit, + SDL2, SDL2_image, SDL2_ttf, physfs, + openal, libmodplug, libvorbis, solarus, + qtbase, qttools }: + +stdenv.mkDerivation rec { + name = "solarus-quest-editor-${version}"; + version = "1.4.5"; + + src = fetchFromGitHub { + owner = "christopho"; + repo = "solarus-quest-editor"; + rev = "61f0fa7a5048994fcd9c9f3a3d1255d0be2967df"; + sha256 = "1fpq55nvs5k2rxgzgf39c069rmm73vmv4gr5lvmqzgsz07rkh07f"; + }; + + buildInputs = [ cmake luajit SDL2 + SDL2_image SDL2_ttf physfs + openal libmodplug libvorbis + solarus qtbase qttools ]; + + patches = [ ./patches/fix-install.patch ]; + + meta = with stdenv.lib; { + description = "The editor for the Zelda-like ARPG game engine, Solarus"; + longDescription = '' + Solarus is a game engine for Zelda-like ARPG games written in lua. + Many full-fledged games have been writen for the engine. + Games can be created easily using the editor. + ''; + homepage = http://www.solarus-games.org; + license = licenses.gpl3; + maintainers = [ maintainers.Nate-Devv ]; + platforms = platforms.linux; + }; + +} diff --git a/pkgs/development/tools/solarus-quest-editor/patches/fix-install.patch b/pkgs/development/tools/solarus-quest-editor/patches/fix-install.patch new file mode 100644 index 000000000000..98c26c1a7061 --- /dev/null +++ b/pkgs/development/tools/solarus-quest-editor/patches/fix-install.patch @@ -0,0 +1,16 @@ +# Description Fix CMakeLists.txt to install binaries. Fixed in 1.5 upstream. +# Author "Nathan R. Moore <natedevv@gmail.com>" +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -359,6 +359,11 @@ + "${MODPLUG_LIBRARY}" + ) + ++# Set files to install ++install(TARGETS solarus-quest-editor ++ RUNTIME DESTINATION bin ++) ++ + # Platform specific. + + # Windows: disable the console. |