libqt5pas: init at 2.0.8

This commit is contained in:
Nikolay Korotkiy 2020-09-06 12:56:08 +03:00
parent a8d6e4b7a5
commit 21c1a3759b
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, lazarus, qt5 }:
stdenv.mkDerivation {
pname = "libqt5pas";
inherit (lazarus) version src;
sourceRoot = "lazarus/lcl/interfaces/qt5/cbindings";
postPatch = ''
substituteInPlace Qt5Pas.pro \
--replace "target.path = \$\$[QT_INSTALL_LIBS]" "target.path = $out/lib"
'';
nativeBuildInputs = with qt5; [ qmake ];
buildInputs = with qt5; [ qtbase qtx11extras ];
meta = with stdenv.lib; {
description = "Free Pascal Qt5 binding library";
homepage = "https://wiki.freepascal.org/Qt5_Interface#libqt5pas";
maintainers = with maintainers; [ sikmir ];
inherit (lazarus.meta) license platforms;
};
}

View File

@ -13932,6 +13932,8 @@ in
libqalculate = callPackage ../development/libraries/libqalculate { };
libqt5pas = callPackage ../development/compilers/fpc/libqt5pas.nix { };
libroxml = callPackage ../development/libraries/libroxml { };
librsvg = callPackage ../development/libraries/librsvg { };