mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
qtchan: fix on macos
This commit is contained in:
parent
c605d171bb
commit
4592ed6e43
2 changed files with 14 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, qt5 }:
|
||||
{ stdenv, fetchFromGitHub, qt, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qtchan-${version}";
|
||||
|
@ -12,19 +12,26 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [ qt5.qmake ];
|
||||
buildInputs = [ qt5.qtbase ];
|
||||
nativeBuildInputs = [ qt.qmake makeWrapper ];
|
||||
buildInputs = [ qt.qtbase ];
|
||||
|
||||
qmakeFlags = [ "CONFIG-=app_bundle" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp qtchan $out/bin
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram $out/bin/qtchan \
|
||||
--suffix QT_PLUGIN_PATH : ${qt.qtbase.bin}/${qt.qtbase.qtPluginPrefix}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "4chan browser in qt5";
|
||||
homepage = "https://github.com/siavash119/qtchan";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ chiiruno ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17554,7 +17554,9 @@ with pkgs;
|
|||
|
||||
qtbitcointrader = callPackage ../applications/misc/qtbitcointrader { };
|
||||
|
||||
qtchan = callPackage ../applications/networking/browsers/qtchan { };
|
||||
qtchan = callPackage ../applications/networking/browsers/qtchan {
|
||||
qt = qt5;
|
||||
};
|
||||
|
||||
qtox = libsForQt5.callPackage ../applications/networking/instant-messengers/qtox { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue