qt6Packages.maplibre-native-qt: init at 3.0.0

This commit is contained in:
Robert Schütz 2024-10-26 19:39:02 -07:00
parent fe94d7da5c
commit 1bbc9c2d23
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{
cmake,
fetchFromGitHub,
lib,
qtlocation,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "maplibre-native-qt";
version = "3.0.0";
src = fetchFromGitHub {
owner = "maplibre";
repo = "maplibre-native-qt";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-h7PFoGJ5P+k5AEv+y0XReYnPdP/bD4nr/uW9jZ5DCy4=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
];
buildInputs = [
qtlocation
];
dontWrapQtApps = true; # library only
meta = {
changelog = "https://github.com/maplibre/maplibre-native-qt/blob/${finalAttrs.src.rev}/CHANGELOG.md";
description = "MapLibre Native Qt Bindings and Qt Location Plugin";
homepage = "https://github.com/maplibre/maplibre-native-qt";
license = with lib.licenses; [
bsd2
gpl3
lgpl3
];
maintainers = with lib.maintainers; [ dotlambda ];
platforms = lib.platforms.all;
};
})

View File

@ -60,6 +60,8 @@ makeScopeWithSplicing' {
qt = qt6;
};
maplibre-native-qt = callPackage ../development/libraries/maplibre-native-qt { };
qca = pkgs.darwin.apple_sdk_11_0.callPackage ../development/libraries/qca {
inherit (qt6) qtbase qt5compat;
};