Loading pkgs/development/libraries/maplibre-gl-native/default.nixdeleted 100644 → 0 +0 −80 Original line number Diff line number Diff line { lib, mkDerivation, fetchFromGitHub, fetchpatch, fetchpatch2, cmake, pkg-config, qtbase, curl, libuv, glfw3, rapidjson, stdenv, }: mkDerivation rec { pname = "maplibre-gl-native"; version = "2.0.1"; src = fetchFromGitHub { owner = "maplibre"; repo = "maplibre-gl-native"; rev = "qt-v${version}"; fetchSubmodules = true; hash = "sha256-g5J873U/6mrl27iquPl3BdEGhMxkOdfP15dHr27wa48="; }; patches = [ (fetchpatch { name = "skip-license-check.patch"; url = "https://git.alpinelinux.org/aports/plain/testing/mapbox-gl-native/0002-skip-license-check.patch?id=6751a93dca26b0b3ceec9eb151272253a2fe497e"; sha256 = "1yybwzxbvn0lqb1br1fyg7763p2h117s6mkmywkl4l7qg9daa7ba"; }) (fetchpatch2 { name = "cstdint.patch"; url = "https://git.alpinelinux.org/aports/plain/community/maplibre-gl-native/cstdint.patch?id=ae8edc6b02df388ef37a69c12a5df25dd8550238"; hash = "sha256-o7wT/rk5vgwxEutAyIEAxwfKNxCoBtkhVcLjc7uTsYc="; }) ]; postPatch = '' # don't use vendored rapidjson rm -r vendor/mapbox-base/extras/rapidjson ''; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ curl libuv glfw3 qtbase rapidjson ]; cmakeFlags = [ "-DMBGL_WITH_QT=ON" "-DMBGL_WITH_QT_LIB_ONLY=ON" "-DMBGL_WITH_QT_HEADLESS=OFF" ]; env.NIX_CFLAGS_COMPILE = toString ( lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "12") [ # Needed with GCC 12 but problematic with some old GCCs "-Wno-error=use-after-free" ] ); meta = { description = "Open-source alternative to Mapbox GL Native"; homepage = "https://maplibre.org/"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ dotlambda ]; platforms = lib.platforms.linux; }; } pkgs/top-level/qt5-packages.nix +1 −2 Original line number Diff line number Diff line Loading @@ -126,8 +126,6 @@ makeScopeWithSplicing' { mapbox-gl-qml = libsForQt5.callPackage ../development/libraries/mapbox-gl-qml { }; maplibre-gl-native = callPackage ../development/libraries/maplibre-gl-native { }; maplibre-native-qt = callPackage ../development/libraries/maplibre-native-qt { }; maui-core = libsForQt5.callPackage ../development/libraries/maui-core { }; Loading Loading @@ -233,6 +231,7 @@ makeScopeWithSplicing' { Consider switching to the gpgmepp included in gpgme (gpgme <2), or to the GnuPG fork of gpgmepp (gpgme 2+), instead. ''; # Added 2025-10-25 mapbox-gl-native = throw "libsForQt5.mapbox-gl-native has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05 maplibre-gl-native = throw "libsForQt5.maplibre-gl-native has been removed due to being broken and superseded by maplibre-native-qt"; # Added 2026-04-11 } )) ); Loading Loading
pkgs/development/libraries/maplibre-gl-native/default.nixdeleted 100644 → 0 +0 −80 Original line number Diff line number Diff line { lib, mkDerivation, fetchFromGitHub, fetchpatch, fetchpatch2, cmake, pkg-config, qtbase, curl, libuv, glfw3, rapidjson, stdenv, }: mkDerivation rec { pname = "maplibre-gl-native"; version = "2.0.1"; src = fetchFromGitHub { owner = "maplibre"; repo = "maplibre-gl-native"; rev = "qt-v${version}"; fetchSubmodules = true; hash = "sha256-g5J873U/6mrl27iquPl3BdEGhMxkOdfP15dHr27wa48="; }; patches = [ (fetchpatch { name = "skip-license-check.patch"; url = "https://git.alpinelinux.org/aports/plain/testing/mapbox-gl-native/0002-skip-license-check.patch?id=6751a93dca26b0b3ceec9eb151272253a2fe497e"; sha256 = "1yybwzxbvn0lqb1br1fyg7763p2h117s6mkmywkl4l7qg9daa7ba"; }) (fetchpatch2 { name = "cstdint.patch"; url = "https://git.alpinelinux.org/aports/plain/community/maplibre-gl-native/cstdint.patch?id=ae8edc6b02df388ef37a69c12a5df25dd8550238"; hash = "sha256-o7wT/rk5vgwxEutAyIEAxwfKNxCoBtkhVcLjc7uTsYc="; }) ]; postPatch = '' # don't use vendored rapidjson rm -r vendor/mapbox-base/extras/rapidjson ''; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ curl libuv glfw3 qtbase rapidjson ]; cmakeFlags = [ "-DMBGL_WITH_QT=ON" "-DMBGL_WITH_QT_LIB_ONLY=ON" "-DMBGL_WITH_QT_HEADLESS=OFF" ]; env.NIX_CFLAGS_COMPILE = toString ( lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "12") [ # Needed with GCC 12 but problematic with some old GCCs "-Wno-error=use-after-free" ] ); meta = { description = "Open-source alternative to Mapbox GL Native"; homepage = "https://maplibre.org/"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ dotlambda ]; platforms = lib.platforms.linux; }; }
pkgs/top-level/qt5-packages.nix +1 −2 Original line number Diff line number Diff line Loading @@ -126,8 +126,6 @@ makeScopeWithSplicing' { mapbox-gl-qml = libsForQt5.callPackage ../development/libraries/mapbox-gl-qml { }; maplibre-gl-native = callPackage ../development/libraries/maplibre-gl-native { }; maplibre-native-qt = callPackage ../development/libraries/maplibre-native-qt { }; maui-core = libsForQt5.callPackage ../development/libraries/maui-core { }; Loading Loading @@ -233,6 +231,7 @@ makeScopeWithSplicing' { Consider switching to the gpgmepp included in gpgme (gpgme <2), or to the GnuPG fork of gpgmepp (gpgme 2+), instead. ''; # Added 2025-10-25 mapbox-gl-native = throw "libsForQt5.mapbox-gl-native has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05 maplibre-gl-native = throw "libsForQt5.maplibre-gl-native has been removed due to being broken and superseded by maplibre-native-qt"; # Added 2026-04-11 } )) ); Loading