Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
1012 B
Nix
49 lines
1012 B
Nix
{
|
|
cmake,
|
|
fetchFromGitHub,
|
|
lib,
|
|
maplibre-native-qt,
|
|
qtbase,
|
|
qtpositioning,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "mapbox-gl-qml";
|
|
version = "3.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rinigus";
|
|
repo = "mapbox-gl-qml";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-csk3Uo+AdP1R/T/9gWyWmYFIKuen2jy8wYN3GJznyRE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeFeature "QT_INSTALL_QML" "${placeholder "out"}/${qtbase.qtQmlPrefix}")
|
|
];
|
|
|
|
buildInputs = [
|
|
maplibre-native-qt
|
|
qtpositioning
|
|
];
|
|
|
|
dontWrapQtApps = true; # library only
|
|
|
|
meta = {
|
|
changelog = "https://github.com/rinigus/mapbox-gl-qml/releases/tag/${finalAttrs.version}";
|
|
description = "Unofficial Mapbox GL Native bindings for Qt QML";
|
|
homepage = "https://github.com/rinigus/mapbox-gl-qml";
|
|
license = lib.licenses.lgpl3Only;
|
|
maintainers = with lib.maintainers; [
|
|
Thra11
|
|
dotlambda
|
|
];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|