diff --git a/pkgs/by-name/po/polyglot/package.nix b/pkgs/by-name/po/polyglot/package.nix index a6105e3ac8dc5..abf1332faa1c4 100644 --- a/pkgs/by-name/po/polyglot/package.nix +++ b/pkgs/by-name/po/polyglot/package.nix @@ -6,18 +6,19 @@ maven, libGL, xdg-utils, + libXxf86vm, zip, zlib, }: maven.buildMavenPackage rec { pname = "polyglot"; - version = "3.5.1"; + version = "3.6"; src = fetchFromGitHub { owner = "DraqueT"; repo = "PolyGlot"; - rev = version; - hash = "sha256-E7wLhohOpWGzXe1zEO9a8aFIVT7/34Wr0dsRzpuf+eY="; + rev = "v${version}"; + hash = "sha256-fAeYrj5x2kGGz+LPnlhR3j+0RSh4akPfN+ZyMMyrndE="; }; preBuild = '' @@ -29,7 +30,7 @@ maven.buildMavenPackage rec { cd ../.. ''; - mvnHash = "sha256-T7es44oNI9EXnpJd/DvYTb4LaJvR3rIdlhD4s/+Bfks="; + mvnHash = "sha256-nQScNCkA+eaeL3tcLCec1qIoYO6ct28FLxGp/Cm4nn4="; mvnParameters = "-DskipTests"; nativeBuildInputs = [ @@ -49,7 +50,12 @@ maven.buildMavenPackage rec { makeWrapper ${jre}/bin/java $out/bin/PolyGlot \ --add-flags "-Djpackage.app-version=${version}" \ --add-flags "-jar $out/share/PolyGlotLinA/PolyGlotLinA-${version}-jar-with-dependencies.jar" \ - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL ]}" + --prefix LD_LIBRARY_PATH : "${ + lib.makeLibraryPath [ + libGL + libXxf86vm + ] + }" runHook postInstall '';