diff options
author | Martin Milata <martin@martinmilata.cz> | 2020-04-07 22:31:44 +0200 |
---|---|---|
committer | Martin Milata <martin@martinmilata.cz> | 2020-04-22 15:23:09 +0200 |
commit | 98f126615f64aa22eb0fd4886b377eff8d8cfbf8 (patch) | |
tree | bcb16b47f5ab857519e2a29e9e422975d87c0768 /pkgs/applications/video/bomi/default.nix | |
parent | 21d3ce58879cbcdd7cd3392a43b665ba5101d734 (diff) | |
download | nixlib-98f126615f64aa22eb0fd4886b377eff8d8cfbf8.tar nixlib-98f126615f64aa22eb0fd4886b377eff8d8cfbf8.tar.gz nixlib-98f126615f64aa22eb0fd4886b377eff8d8cfbf8.tar.bz2 nixlib-98f126615f64aa22eb0fd4886b377eff8d8cfbf8.tar.lz nixlib-98f126615f64aa22eb0fd4886b377eff8d8cfbf8.tar.xz nixlib-98f126615f64aa22eb0fd4886b377eff8d8cfbf8.tar.zst nixlib-98f126615f64aa22eb0fd4886b377eff8d8cfbf8.zip |
bomi: use qt5's mkDerivation
Wrap Qt program manually, remove makeWrapper from nativeBuildInputs.
Diffstat (limited to 'pkgs/applications/video/bomi/default.nix')
-rw-r--r-- | pkgs/applications/video/bomi/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/applications/video/bomi/default.nix b/pkgs/applications/video/bomi/default.nix index 7ba37936c686..d812ac488742 100644 --- a/pkgs/applications/video/bomi/default.nix +++ b/pkgs/applications/video/bomi/default.nix @@ -1,7 +1,7 @@ -{ config, stdenv, fetchFromGitHub +{ mkDerivation, config, stdenv, fetchFromGitHub , fetchpatch, pkgconfig, perl, python, which , libX11, libxcb, libGLU, libGL -, qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmake, makeWrapper +, qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras, qmake , libchardet , ffmpeg @@ -29,7 +29,7 @@ assert pulseSupport -> libpulseaudio != null; assert cddaSupport -> libcdda != null; assert youtubeSupport -> youtube-dl != null; -stdenv.mkDerivation rec { +mkDerivation rec { pname = "bomi"; version = "0.9.11"; @@ -90,8 +90,9 @@ stdenv.mkDerivation rec { patchShebangs build-mpv ''; + dontWrapQtApps = true; postInstall = '' - wrapProgram $out/bin/bomi \ + wrapQtApp $out/bin/bomi \ ${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"} ''; @@ -105,7 +106,7 @@ stdenv.mkDerivation rec { ++ optional cddaSupport "--enable-cdda" ; - nativeBuildInputs = [ makeWrapper pkgconfig perl python which qttools qmake ]; + nativeBuildInputs = [ pkgconfig perl python which qttools qmake ]; meta = with stdenv.lib; { description = "Powerful and easy-to-use multimedia player"; |