uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
24
pkgs/development/compilers/fpc/libqt5pas.nix
Normal file
24
pkgs/development/compilers/fpc/libqt5pas.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue