summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-01-06 09:24:41 -0500
committerGitHub <noreply@github.com>2020-01-06 09:24:41 -0500
commitb103b3f13eeaf74aac947f7cd2081687a046103f (patch)
tree316110557efbf5599f09dd6ba7d1237b989bf9ca /pkgs/games
parentabd50675a3f6cab7396ef7c6ffcb83c28e013443 (diff)
parentf930613999f07df1d123ebba2c20d6a443bffe66 (diff)
downloadnixpkgs-b103b3f13eeaf74aac947f7cd2081687a046103f.tar
nixpkgs-b103b3f13eeaf74aac947f7cd2081687a046103f.tar.gz
nixpkgs-b103b3f13eeaf74aac947f7cd2081687a046103f.tar.bz2
nixpkgs-b103b3f13eeaf74aac947f7cd2081687a046103f.tar.lz
nixpkgs-b103b3f13eeaf74aac947f7cd2081687a046103f.tar.xz
nixpkgs-b103b3f13eeaf74aac947f7cd2081687a046103f.tar.zst
nixpkgs-b103b3f13eeaf74aac947f7cd2081687a046103f.zip
Merge pull request #74136 from filalex77/runelite-2.0.0
runelite: 1.6.0 -> 2.0.0
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/runelite/default.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/games/runelite/default.nix b/pkgs/games/runelite/default.nix
index 77d1888b86e..9b6ca4f7c05 100644
--- a/pkgs/games/runelite/default.nix
+++ b/pkgs/games/runelite/default.nix
@@ -1,17 +1,17 @@
 { stdenv, fetchurl, makeWrapper, jre, makeDesktopItem, lib }:
 
-  stdenv.mkDerivation rec {
+stdenv.mkDerivation rec {
   pname = "runelite";
-  version = "1.6.0";
+  version = "2.0.0";
 
   src = fetchurl {
     url = "https://github.com/runelite/launcher/releases/download/${version}/RuneLite.jar";
-    sha256 = "0q2xx0wrnlg5mrv8nnmnh300r8mqfm8k2p028m7mr09kn18xvkzx";
+    sha256 = "0q0x8g43ggkvp5fgnymgygx59xfhnyyrhpi6ha333gqg97rr0rvw";
   };
 
   icon = fetchurl {
-    url = "https://github.com/runelite/runelite/raw/master/runelite-client/src/main/resources/runelite.png";
-    sha256 = "0fxzkpsin09giqp7h8z0plxznk5d5j60sv34v1lw61p7d5y2izvr";
+    url = "https://github.com/runelite/launcher/raw/${version}/appimage/runelite.png";
+    sha256 = "04fcjm7p546gr82g0jbh497j7rnh70lrvas0k171bff4v3knrjw1";
   };
 
   desktop = makeDesktopItem {
@@ -43,11 +43,11 @@
     --add-flags "-jar $out/share/runelite/RuneLite.jar"
   '';
 
-  meta = {
+  meta = with lib; {
     description = "Open source Old School RuneScape client";
     homepage = "https://runelite.net/";
-    license = lib.licenses.bsd2;
-    maintainers = [ lib.maintainers.kmeakin ];
-    platforms = lib.platforms.all;
+    license = licenses.bsd2;
+    maintainers = with maintainers; [ kmeakin ];
+    platforms = platforms.all;
   };
-  }
+}