depot/third_party/nixpkgs/pkgs/development/compilers/fpc/libqt5pas.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

24 lines
645 B
Nix

{ mkDerivation, lib, lazarus, qmake, qtbase, qtx11extras }:
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 = [ qmake ];
buildInputs = [ qtbase qtx11extras ];
meta = with lib; {
description = "Free Pascal Qt5 binding library";
homepage = "https://wiki.freepascal.org/Qt5_Interface#libqt5pas";
maintainers = with maintainers; [ sikmir ];
inherit (lazarus.meta) license platforms;
};
}