Change:
name: widelands current version: 1.0 desired version: 1.1 maintainers: The widelands devs sent us an email about the release. I think this is a first for me.
I'm working on a PR for this (and once I figure out the github UI, I'll assign it to myself)..
Closing since fixes this. Please reopen if I'm wrong.

Discussion:
<del> --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,8 @@ # Packagers (or people using make install) have to set this variable to an absolute path. wl_set_if_unset(WL_INSTALL_DATADIR "./data") +wl_set_if_unset(WL_INSTALL_BINARY "./bin") + if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7) message(FATAL_ERROR "Widelands needs GCC >= 4.7 to compile.") --- a/cmake/WlFunctions.cmake +++ b/cmake/WlFunctions.cmake @@ -276,5 +276,5 @@ #Quoting the CMake documentation on DESTINATION: #"If a relative path is given it is interpreted relative to the value of CMAKE_INSTALL_PREFIX" -  install(TARGETS ${NAME} DESTINATION "." COMPONENT ExecutableFiles) +  install(TARGETS ${NAME} DESTINATION ${WL_INSTALL_BINARY} COMPONENT ExecutableFiles) endfunction() </del>

, stdenv , fetchFromGitHub , fetchpatch <ins> , pkg-config # needed to find minizip </ins> , SDL2 , SDL2_image , SDL2_mixer , SDL2_net , SDL2_ttf <del> , boost </del> , cmake , curl , doxygen

, lua , python3 , zlib <ins> , minizip , asio , libSM , libICE , libXext </ins> }: stdenv.mkDerivation rec { pname = "widelands"; <del> version = "1.0"; </del> <ins> version = "1.1"; </ins> src = fetchFromGitHub { owner = "widelands"; repo = "widelands"; rev = "v${version}"; <del> sha256 = "sha256-gNumYoeKePaxiAzrqEPKibMxFwv9vyBrCSoua+MKhcM="; </del> <ins> sha256 = "sha256-fe1fey34b6T1+kqMa22STROu7dagQJtg24nW2jhVix8="; </ins> }; <del> patches = [ ./bincmake.patch # fix for building with Boost 1.77, https://github.com/widelands/widelands/pull/5025 (fetchpatch { url = "https://github.com/widelands/widelands/commit/33981fda8c319c9feafc958f5f0b1670c48666ef.patch"; sha256 = "sha256-FjxxCTPpg/Zp01XpNfgRXMMLJBfxAptkLpsLmnFXm2Q="; }) ]; </del> postPatch = '' substituteInPlace xdg/org.widelands.Widelands.desktop  --replace 'Exec=widelands' "Exec=$out/bin/widelands"

cmakeFlags = [ "-Wno-dev" # dev warnings are only needed for upstream development <del> "-DWL_INSTALL_BASEDIR=${placeholder "out"}" "-DWL_INSTALL_DATADIR=${placeholder "out"}/share/widelands" "-DWL_INSTALL_BINARY=${placeholder "out"}/bin" </del> <ins> "-DWL_INSTALL_BASEDIR=${placeholder "out"}/share/widelands" # for COPYING, Changelog, etc. "-DWL_INSTALL_DATADIR=${placeholder "out"}/share/widelands" # for game data "-DWL_INSTALL_BINDIR=${placeholder "out"}/bin" </ins> ]; <del> nativeBuildInputs = [ cmake doxygen gettext graphviz installShellFiles ]; </del> <ins> nativeBuildInputs = [ cmake doxygen gettext graphviz installShellFiles pkg-config ]; enableParallelBuilding = true; </ins> buildInputs = [ SDL2

SDL2_mixer SDL2_net SDL2_ttf <del> boost </del> curl glew icu

lua python3 zlib <ins> minizip asio libSM  # XXX: these should be propagated by SDL2? libICE libXext </ins> ]; postInstall = ''

Settlers II". It has a single player campaign mode, as well as a networked multiplayer mode. ''; <ins> changelog = "https://github.com/widelands/widelands/releases/tag/v1.1"; mainProgram = "widelands"; </ins> license = licenses.gpl2Plus; maintainers = with maintainers; [ raskin jcumming ]; platforms = platforms.linux;