lol
1{
2 cmake,
3 fetchFromGitHub,
4 lib,
5 qtlocation,
6 stdenv,
7}:
8
9stdenv.mkDerivation (finalAttrs: {
10 pname = "maplibre-native-qt";
11 version = "3.0.0";
12
13 src = fetchFromGitHub {
14 owner = "maplibre";
15 repo = "maplibre-native-qt";
16 tag = "v${finalAttrs.version}";
17 hash = "sha256-h7PFoGJ5P+k5AEv+y0XReYnPdP/bD4nr/uW9jZ5DCy4=";
18 fetchSubmodules = true;
19 };
20
21 nativeBuildInputs = [
22 cmake
23 ];
24
25 buildInputs = [
26 qtlocation
27 ];
28
29 dontWrapQtApps = true; # library only
30
31 meta = {
32 changelog = "https://github.com/maplibre/maplibre-native-qt/blob/${finalAttrs.src.rev}/CHANGELOG.md";
33 description = "MapLibre Native Qt Bindings and Qt Location Plugin";
34 homepage = "https://github.com/maplibre/maplibre-native-qt";
35 license = with lib.licenses; [
36 bsd2
37 gpl3
38 lgpl3
39 ];
40 maintainers = with lib.maintainers; [ dotlambda ];
41 platforms = lib.platforms.all;
42 };
43})