diff --git a/pkgs/downlords/default.nix b/pkgs/downlords/default.nix index 8bdb778..c9d906e 100644 --- a/pkgs/downlords/default.nix +++ b/pkgs/downlords/default.nix @@ -1,24 +1,24 @@ -{ lib, stdenv, fetchzip, makeWrapper, jdk14, steam-run, ... }: +{ lib, stdenv, fetchzip, makeWrapper, jdk15, steam-run, ... }: stdenv.mkDerivation rec { pname = "downlords-faf-client"; - version = "v1.2.3"; + version = "v1.4.3"; src = fetchzip { url = "https://github.com/FAForever/downlords-faf-client/releases/download/${version}/dfc_unix_${lib.stringAsChars (x: if x == "." then "_" else if x == "v" then "" else x) version}.tar.gz"; - sha256 = "0snbqn6qngjrb1s4knxq5k48816zk975h6b19fnpja2pabwkxzpc"; + sha256 = "146p9r3fk4ini8xhbb24m8h6wrcw3dwcjj9j4jxc6l60pv3qsscd"; }; nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ jdk14 ]; + buildInputs = [ jdk15 ]; installPhase = '' mkdir -p $out/lib/ $out/bin cp -r ${src} $out/lib/downlords makeWrapper $out/lib/downlords/downlords-faf-client $out/bin/dowlords \ - --set INSTALL4J_JAVA_HOME "${jdk14}/lib/openjdk" \ + --set INSTALL4J_JAVA_HOME "${jdk15}/lib/openjdk" \ --set PWD $out/lib/downlords \ --run "cd $out/lib/downlords" '';