Skip to content

Commit

Permalink
Merge pull request #88218 from piperswe/piperswe/update-minecraft-lau…
Browse files Browse the repository at this point in the history
…ncher
  • Loading branch information
infinisil authored May 30, 2020
2 parents 78775ba + b4fa957 commit edf2e9f
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions pkgs/games/minecraft/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
, curl
, freetype
, libpulseaudio
, libuuid
, systemd
, flite ? null
, libXxf86vm ? null
}:

let
desktopItem = makeDesktopItem {
name = "minecraft-launcher";
Expand All @@ -40,13 +40,13 @@ let
};

envLibPath = stdenv.lib.makeLibraryPath [
curl
libpulseaudio
systemd
alsaLib # needed for narrator
flite # needed for narrator
libXxf86vm # needed only for versions <1.13
];
curl
libpulseaudio
systemd
alsaLib # needed for narrator
flite # needed for narrator
libXxf86vm # needed only for versions <1.13
];

libPath = stdenv.lib.makeLibraryPath ([
alsaLib
Expand All @@ -67,6 +67,7 @@ let
nss
stdenv.cc.cc
zlib
libuuid
] ++
(with xorg; [
libX11
Expand All @@ -83,14 +84,14 @@ let
libXScrnSaver
]));
in
stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "minecraft-launcher";

version = "2.1.13509";
version = "2.1.14947";

src = fetchurl {
url = "https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${version}.tar.gz";
sha256 = "1f7b4gr2cnnf6wgxdz38215v31664q2pw00yibb3cjp8a9irvs47";
sha256 = "1lsc39n1kq08sssnpr6kf4lfpy01a7i7rgvi298mmxsprjmc7a9q";
};

icon = fetchurl {
Expand Down Expand Up @@ -142,6 +143,7 @@ in
homepage = "https://minecraft.net";
maintainers = with maintainers; [ cpages ryantm infinisil ];
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
};

passthru.updateScript = ./update.sh;
Expand Down

0 comments on commit edf2e9f

Please sign in to comment.