minecraft: 2.1.14403 -> 2.1.14947

This commit is contained in:
Piper McCorkle 2020-05-30 05:07:06 -07:00
parent 6806b649c4
commit a32bc05dc9

View File

@ -24,11 +24,11 @@
, curl , curl
, freetype , freetype
, libpulseaudio , libpulseaudio
, libuuid
, systemd , systemd
, flite ? null , flite ? null
, libXxf86vm ? null , libXxf86vm ? null
}: }:
let let
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
name = "minecraft-launcher"; name = "minecraft-launcher";
@ -40,13 +40,13 @@ let
}; };
envLibPath = stdenv.lib.makeLibraryPath [ envLibPath = stdenv.lib.makeLibraryPath [
curl curl
libpulseaudio libpulseaudio
systemd systemd
alsaLib # needed for narrator alsaLib # needed for narrator
flite # needed for narrator flite # needed for narrator
libXxf86vm # needed only for versions <1.13 libXxf86vm # needed only for versions <1.13
]; ];
libPath = stdenv.lib.makeLibraryPath ([ libPath = stdenv.lib.makeLibraryPath ([
alsaLib alsaLib
@ -67,6 +67,7 @@ let
nss nss
stdenv.cc.cc stdenv.cc.cc
zlib zlib
libuuid
] ++ ] ++
(with xorg; [ (with xorg; [
libX11 libX11
@ -83,14 +84,14 @@ let
libXScrnSaver libXScrnSaver
])); ]));
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "minecraft-launcher"; pname = "minecraft-launcher";
version = "2.1.14403"; version = "2.1.14947";
src = fetchurl { src = fetchurl {
url = "https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${version}.tar.gz"; url = "https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${version}.tar.gz";
sha256 = "086c8rqica0wrin7kj8mj6vqxyyx1gzq31a0hz4lhg0k4fs8z21g"; sha256 = "1lsc39n1kq08sssnpr6kf4lfpy01a7i7rgvi298mmxsprjmc7a9q";
}; };
icon = fetchurl { icon = fetchurl {