Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: comaps 0 -> 1 attrpath: comaps Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/bjbf31ac5allqfqlm04almwdhflwbdlv-packages.json.drv building '/nix/store/bjbf31ac5allqfqlm04almwdhflwbdlv-packages.json.drv'... Going to be running update for following packages: - comaps-2026.06.05-11 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - comaps-2026.06.05-11: UPDATING ... - comaps-2026.06.05-11: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/co/comaps/package.nix b/pkgs/by-name/co/comaps/package.nix index 22fe26b9fd90..5a5067b40a19 100644 --- a/pkgs/by-name/co/comaps/package.nix +++ b/pkgs/by-name/co/comaps/package.nix @@ -58,13 +58,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "comaps"; - version = "2026.06.05-11"; + version = "2026.08.07-3"; src = fetchFromCodeberg { owner = "comaps"; repo = "comaps"; tag = "v${finalAttrs.version}"; - hash = "sha256-W05fZT82H78TqlH4MFaIexX1LYhjATYL1E6e0WCYrBI="; + hash = "sha256-ft7VYIMdg8IOl4gfm7Zg5EQjli0YDGuepwP1X9w2Sos="; fetchSubmodules = true; }; No auto update branch exists Old version 2026.06.05-11" not present in master derivation file with contents: { lib, stdenv, fetchFromGitHub, fetchurl, fetchFromCodeberg, cmake, boost, expat, getopt, gflags, glm, gtest, icu, imgui, jansson, jq, libxcursor, libxinerama, libxrandr, ninja, pkg-config, pugixml, python3, qt6, optipng, utf8cpp, which, nix-update-script, }: let world_feed_integration_tests_data = fetchFromGitHub { owner = "organicmaps"; repo = "world_feed_integration_tests_data"; rev = "30ecb0b3fe694a582edfacc2a7425b6f01f9fec6"; hash = "sha256-1FF658OhKg8a5kKX/7TVmsxZ9amimn4lB6bX9i7pnI4="; }; # Update mapRev based on v field and mapSeries near the top in https://codeberg.org/comaps/comaps/src/branch/main/data/countries.txt mapSeries = "2026.06.28"; mapRev = 260714; worldMap = fetchurl { name = "World-${mapSeries}-${toString mapRev}.mwm"; url = "https://mapgen-fi-1.comaps.app/maps/${mapSeries}/${toString mapRev}/World.mwm"; hash = "sha256-+EttNsix+9bB0/eOsPaxtZEfPDqQrj8qfZg2qDaLFVc="; }; worldCoasts = fetchurl { name = "WorldCoasts-${mapSeries}-${toString mapRev}.mwm"; url = "https://mapgen-fi-1.comaps.app/maps/${mapSeries}/${toString mapRev}/WorldCoasts.mwm"; hash = "sha256-MsXFqnoyQQTTJR1f8ihiqzCYuuRAVbRpoXfPPkVFa1E="; }; pythonEnv = python3.withPackages ( ps: with ps; [ protobuf ] ); in stdenv.mkDerivation (finalAttrs: { pname = "comaps"; version = "2026.08.07-3"; strictDeps = true; __structuredAttrs = true; src = fetchFromCodeberg { owner = "comaps"; repo = "comaps"; tag = "v${finalAttrs.version}"; hash = "sha256-ft7VYIMdg8IOl4gfm7Zg5EQjli0YDGuepwP1X9w2Sos="; fetchSubmodules = true; }; patches = [ ./use-vendored-protobuf.patch ]; postPatch = '' patchShebangs 3party/boost/tools/build/src/engine/build.sh ln -s ${world_feed_integration_tests_data} data/test_data/world_feed_integration_tests_data rm -f 3party/boost/b2 substituteInPlace configure.sh \ --replace-fail "git submodule update --init --recursive --depth 1" "" patchShebangs tools/unix/* substituteInPlace tools/python/{categories/json_to_txt.py,generate_desktop_ui_strings.py} \ --replace-fail "/usr/bin/env python3" "${pythonEnv.interpreter}" ''; nativeBuildInputs = [ cmake ninja jq icu getopt which pkg-config pythonEnv qt6.wrapQtAppsHook optipng ]; buildInputs = [ qt6.qtbase qt6.qtpositioning qt6.qtsvg boost expat gtest gflags glm imgui jansson libxcursor libxinerama libxrandr pugixml utf8cpp ]; preConfigure = '' bash ./configure.sh --skip-map-download ''; cmakeFlags = [ (lib.cmakeBool "SKIP_TESTS" false) (lib.cmakeBool "WITH_SYSTEM_PROVIDED_3PARTY" true) ]; env = { NIX_CFLAGS_COMPILE = toString [ "-I/build/source/3party/fast_double_parser/include" ]; PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python"; SKIP_PYTHON_VENV = 1; }; postInstall = '' install -Dm644 ${worldMap} $out/share/comaps/data/World.mwm install -Dm644 ${worldCoasts} $out/share/comaps/data/WorldCoasts.mwm ''; passthru.updateScript = nix-update-script { extraArgs = [ "-vr" "v(.*)" ]; }; meta = { broken = stdenv.hostPlatform.isDarwin; description = "Community-led fork of Organic Maps"; homepage = "https://comaps.app"; downloadPage = "https://comaps.app/download"; donationPage = "https://comaps.app/donate"; changelog = "https://codeberg.org/comaps/comaps/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.ryand56 ]; platforms = lib.platforms.unix; mainProgram = "CoMaps"; }; })