mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
qt6Packages.maplibre-native-qt: init at 3.0.0
This commit is contained in:
parent
fe94d7da5c
commit
1bbc9c2d23
43
pkgs/development/libraries/maplibre-native-qt/default.nix
Normal file
43
pkgs/development/libraries/maplibre-native-qt/default.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user