From 4b9f0774bf2074cae5a0d6f8f6b07b2394e866a5 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 21 Aug 2019 18:16:21 -0500 Subject: [PATCH 1/2] solarus{,-quest-editor}: 1.6.0 -> 1.6.2 https://www.solarus-games.org/en/news/2019-08-15-solarus-1-6-2-bugfix-release --- .../development/tools/solarus-quest-editor/default.nix | 10 +++++----- pkgs/games/solarus/default.nix | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/development/tools/solarus-quest-editor/default.nix b/pkgs/development/tools/solarus-quest-editor/default.nix index 35ba9f8c006..33c5d94a31c 100644 --- a/pkgs/development/tools/solarus-quest-editor/default.nix +++ b/pkgs/development/tools/solarus-quest-editor/default.nix @@ -4,14 +4,14 @@ qtbase, qttools, glm }: stdenv.mkDerivation rec { - name = "solarus-quest-editor-${version}"; - version = "1.6.0"; - + pname = "solarus-quest-editor"; + version = "1.6.2"; + src = fetchFromGitLab { owner = "solarus-games"; - repo = "solarus-quest-editor"; + repo = pname; rev = "v${version}"; - sha256 = "1a7816kaljfh9ynzy9g36mqzzv2p800nnbrja73q6vjfrsv3vq4c"; + sha256 = "0dq94iw9ldl4p83dqcwjs5ilpkvz5jgdk8rbls8pf8b7afpg36rz"; }; buildInputs = [ cmake luajit SDL2 diff --git a/pkgs/games/solarus/default.nix b/pkgs/games/solarus/default.nix index 1049b10d0b1..a2d0975ab08 100644 --- a/pkgs/games/solarus/default.nix +++ b/pkgs/games/solarus/default.nix @@ -4,14 +4,14 @@ qtbase, qttools }: stdenv.mkDerivation rec { - name = "solarus-${version}"; - version = "1.6.0"; + pname = "solarus"; + version = "1.6.2"; src = fetchFromGitLab { owner = "solarus-games"; - repo = "solarus"; - rev = "v1.6.0"; - sha256 = "0mlpa1ijaxy84f7xjgs2kjnpm035b8q9ckva6lg14q49gzy10fr2"; + repo = pname; + rev = "v${version}"; + sha256 = "0d0xfjbmamz84aajxfc0fwrj8862xxbxz6n4xnc05r1m4g7gba77"; }; buildInputs = [ cmake luajit SDL2 From a986f7d46c605d248b6bcc20978a149442325120 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 21 Aug 2019 18:19:24 -0500 Subject: [PATCH 2/2] solarus{,-quest-editor}: use qt's mkDerivation, fix --- pkgs/development/tools/solarus-quest-editor/default.nix | 6 +++--- pkgs/games/solarus/default.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/tools/solarus-quest-editor/default.nix b/pkgs/development/tools/solarus-quest-editor/default.nix index 33c5d94a31c..e0a078415eb 100644 --- a/pkgs/development/tools/solarus-quest-editor/default.nix +++ b/pkgs/development/tools/solarus-quest-editor/default.nix @@ -1,9 +1,9 @@ -{ stdenv, fetchFromGitLab, cmake, luajit, +{ lib, mkDerivation, fetchFromGitLab, cmake, luajit, SDL2, SDL2_image, SDL2_ttf, physfs, openal, libmodplug, libvorbis, solarus, qtbase, qttools, glm }: -stdenv.mkDerivation rec { +mkDerivation rec { pname = "solarus-quest-editor"; version = "1.6.2"; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { openal libmodplug libvorbis solarus qtbase qttools glm ]; - meta = with stdenv.lib; { + meta = with 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. diff --git a/pkgs/games/solarus/default.nix b/pkgs/games/solarus/default.nix index a2d0975ab08..68d0f642aef 100644 --- a/pkgs/games/solarus/default.nix +++ b/pkgs/games/solarus/default.nix @@ -1,9 +1,9 @@ -{ stdenv, fetchFromGitLab, cmake, luajit, +{ lib, mkDerivation, fetchFromGitLab, cmake, luajit, SDL2, SDL2_image, SDL2_ttf, physfs, openal, libmodplug, libvorbis, qtbase, qttools }: -stdenv.mkDerivation rec { +mkDerivation rec { pname = "solarus"; version = "1.6.2"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { description = "A Zelda-like ARPG game engine"; longDescription = '' Solarus is a game engine for Zelda-like ARPG games written in lua.