libsForQt5.qtpbfimageplugin: 4.0 → 4.2

This commit is contained in:
Nikolay Korotkiy 2025-05-11 14:02:46 +04:00
parent c3f9e1d1d8
commit e9c93a1316
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -8,13 +8,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "qtpbfimageplugin"; pname = "qtpbfimageplugin";
version = "4.0"; version = "4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tumic0"; owner = "tumic0";
repo = "QtPBFImagePlugin"; repo = "QtPBFImagePlugin";
tag = version; tag = version;
hash = "sha256-17mQ7aTpZhmsoAHhnueHSRTvCIHRcpWwZHZM+YUdeps="; hash = "sha256-yk/DsLjNLqtmhvPcHDZGsNiAI1zBv1vBtgERvtNjF4I=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -30,10 +30,10 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
# Fix plugin dir # Fix plugin dir
substituteInPlace pbfplugin.pro \ substituteInPlace pbfplugin.pro \
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix" --replace-warn "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
''; '';
meta = with lib; { meta = {
description = "Qt image plugin for displaying Mapbox vector tiles"; description = "Qt image plugin for displaying Mapbox vector tiles";
longDescription = '' longDescription = ''
QtPBFImagePlugin is a Qt image plugin that enables applications capable of QtPBFImagePlugin is a Qt image plugin that enables applications capable of
@ -41,8 +41,8 @@ stdenv.mkDerivation rec {
vector tiles without (almost) any application modifications. vector tiles without (almost) any application modifications.
''; '';
homepage = "https://github.com/tumic0/QtPBFImagePlugin"; homepage = "https://github.com/tumic0/QtPBFImagePlugin";
license = licenses.lgpl3Only; license = lib.licenses.lgpl3Only;
maintainers = with maintainers; [ sikmir ]; maintainers = with lib.maintainers; [ sikmir ];
platforms = platforms.unix; platforms = lib.platforms.unix;
}; };
} }