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
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
qmake,
|
|
qtbase,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qtpbfimageplugin";
|
|
version = "5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tumic0";
|
|
repo = "QtPBFImagePlugin";
|
|
tag = version;
|
|
hash = "sha256-ruaYJ3onc1banwgpZ0Gh7n8fZ9t7DQ6D6gshXH2IXfc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
qmake
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
postPatch = ''
|
|
# Fix plugin dir
|
|
substituteInPlace pbfplugin.pro \
|
|
--replace-warn "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Qt image plugin for displaying Mapbox vector tiles";
|
|
longDescription = ''
|
|
QtPBFImagePlugin is a Qt image plugin that enables applications capable of
|
|
displaying raster MBTiles maps or raster XYZ online maps to also display PBF
|
|
vector tiles without (almost) any application modifications.
|
|
'';
|
|
homepage = "https://github.com/tumic0/QtPBFImagePlugin";
|
|
license = lib.licenses.lgpl3Only;
|
|
maintainers = with lib.maintainers; [ sikmir ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|