diff --git a/pkgs/applications/audio/dfasma/default.nix b/pkgs/applications/audio/dfasma/default.nix index fcd30e476cf3..d439f344f5ba 100644 --- a/pkgs/applications/audio/dfasma/default.nix +++ b/pkgs/applications/audio/dfasma/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, fftw, libsndfile, qt5 }: +{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia }: let @@ -39,7 +39,7 @@ in stdenv.mkDerivation { owner = "gillesdegottex"; }; - buildInputs = [ fftw libsndfile qt5.base qt5.multimedia ]; + buildInputs = [ fftw libsndfile qtbase qtmultimedia ]; postPatch = '' substituteInPlace dfasma.pro --replace '$$DFASMAVERSIONGITPRO' '${version}' @@ -53,6 +53,10 @@ in stdenv.mkDerivation { enableParallelBuilding = true; + postInstall = '' + wrapQtProgram "$out/bin/dfasma" + ''; + meta = with stdenv.lib; { inherit version; description = "Analyse and compare audio files in time and frequency"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fdc0f633101c..61143d10f801 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11002,7 +11002,7 @@ let plugins = []; }; - dfasma = callPackage ../applications/audio/dfasma { }; + dfasma = qt5Libs.callPackage ../applications/audio/dfasma { }; dia = callPackage ../applications/graphics/dia { inherit (pkgs.gnome) libart_lgpl libgnomeui;