Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, stdenv, fetchFromGitHub, qmake, qtbase,}:
stdenv.mkDerivation rec { pname = "qtpbfimageplugin"; version = "4.4";
src = fetchFromGitHub { owner = "tumic0"; repo = "QtPBFImagePlugin"; tag = version; hash = "sha256-WcqhYDfirMfNtUJBvhZ1559NnJun9OuhhVg6o8IcVGQ="; };
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; };}