mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
c084efb36f
Includes the following changes: 1. lazarus: 2.0.8 -> 2.0.10 (built with gtk2) 2. lots of cleanups 3. minor libqt5pas cleanups
25 lines
645 B
Nix
25 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;
|
|
};
|
|
}
|