vintagestory: 1.20.11 -> 1.20.12, improve perf, add dtomvan as maintainer (#414847)

authored by Wolfgang Walther and committed by GitHub 2be9ed89 90dcc7c1

+25 -22
+25 -22
pkgs/by-name/vi/vintagestory/package.nix
··· 21 22 stdenv.mkDerivation rec { 23 pname = "vintagestory"; 24 - version = "1.20.11"; 25 26 src = fetchurl { 27 url = "https://cdn.vintagestory.at/gamefiles/stable/vs_client_linux-x64_${version}.tar.gz"; 28 - hash = "sha256-IOreg6j/jLhOK8jm2AgSnYQrql5R6QxsshvPs8OUcQA="; 29 }; 30 31 nativeBuildInputs = [ 32 makeWrapper 33 copyDesktopItems 34 ]; 35 - 36 - buildInputs = [ dotnet-runtime_7 ]; 37 38 runtimeLibs = lib.makeLibraryPath ( 39 [ ··· 77 runHook postInstall 78 ''; 79 80 - preFixup = 81 - '' 82 - makeWrapper ${dotnet-runtime_7}/bin/dotnet $out/bin/vintagestory \ 83 - --prefix LD_LIBRARY_PATH : "${runtimeLibs}" \ 84 - --add-flags $out/share/vintagestory/Vintagestory.dll 85 - makeWrapper ${dotnet-runtime_7}/bin/dotnet $out/bin/vintagestory-server \ 86 - --prefix LD_LIBRARY_PATH : "${runtimeLibs}" \ 87 - --add-flags $out/share/vintagestory/VintagestoryServer.dll 88 - '' 89 - + '' 90 - find "$out/share/vintagestory/assets/" -not -path "*/fonts/*" -regex ".*/.*[A-Z].*" | while read -r file; do 91 - local filename="$(basename -- "$file")" 92 - ln -sf "$filename" "''${file%/*}"/"''${filename,,}" 93 - done 94 - ''; 95 96 - meta = with lib; { 97 description = "In-development indie sandbox game about innovation and exploration"; 98 homepage = "https://www.vintagestory.at/"; 99 - license = licenses.unfree; 100 - maintainers = with maintainers; [ 101 artturin 102 gigglesquid 103 niraethm 104 ]; 105 }; 106 }
··· 21 22 stdenv.mkDerivation rec { 23 pname = "vintagestory"; 24 + version = "1.20.12"; 25 26 src = fetchurl { 27 url = "https://cdn.vintagestory.at/gamefiles/stable/vs_client_linux-x64_${version}.tar.gz"; 28 + hash = "sha256-h6YXEZoVVV9IuKkgtK9Z3NTvJogVNHmXdAcKxwfvqcE="; 29 }; 30 31 nativeBuildInputs = [ 32 makeWrapper 33 copyDesktopItems 34 ]; 35 36 runtimeLibs = lib.makeLibraryPath ( 37 [ ··· 75 runHook postInstall 76 ''; 77 78 + preFixup = '' 79 + makeWrapper ${dotnet-runtime_7}/bin/dotnet $out/bin/vintagestory \ 80 + --prefix LD_LIBRARY_PATH : "${runtimeLibs}" \ 81 + --set-default mesa_glthread true \ 82 + --add-flags $out/share/vintagestory/Vintagestory.dll 83 + 84 + makeWrapper ${dotnet-runtime_7}/bin/dotnet $out/bin/vintagestory-server \ 85 + --prefix LD_LIBRARY_PATH : "${runtimeLibs}" \ 86 + --set-default mesa_glthread true \ 87 + --add-flags $out/share/vintagestory/VintagestoryServer.dll 88 + 89 + find "$out/share/vintagestory/assets/" -not -path "*/fonts/*" -regex ".*/.*[A-Z].*" | while read -r file; do 90 + local filename="$(basename -- "$file")" 91 + ln -sf "$filename" "''${file%/*}"/"''${filename,,}" 92 + done 93 + ''; 94 95 + meta = { 96 description = "In-development indie sandbox game about innovation and exploration"; 97 homepage = "https://www.vintagestory.at/"; 98 + license = lib.licenses.unfree; 99 + sourceProvenance = [ lib.sourceTypes.binaryBytecode ]; 100 + platforms = lib.platforms.linux; 101 + maintainers = with lib.maintainers; [ 102 artturin 103 gigglesquid 104 niraethm 105 + dtomvan 106 ]; 107 + mainProgram = "vintagestory"; 108 }; 109 }