summary refs log tree commit diff
path: root/pkgs/applications/audio/dfasma
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-09-27 10:26:10 -0500
committerThomas Tuegel <ttuegel@gmail.com>2015-09-27 15:09:44 -0500
commitd97dbf87c08af62b5e396f9e40252e64e7e85af6 (patch)
tree616921ed58758c7e48ccd9ac59762f7d7285141d /pkgs/applications/audio/dfasma
parentfdc0e1749066bf84c234906ff9bebe664028f097 (diff)
downloadnixpkgs-d97dbf87c08af62b5e396f9e40252e64e7e85af6.tar
nixpkgs-d97dbf87c08af62b5e396f9e40252e64e7e85af6.tar.gz
nixpkgs-d97dbf87c08af62b5e396f9e40252e64e7e85af6.tar.bz2
nixpkgs-d97dbf87c08af62b5e396f9e40252e64e7e85af6.tar.lz
nixpkgs-d97dbf87c08af62b5e396f9e40252e64e7e85af6.tar.xz
nixpkgs-d97dbf87c08af62b5e396f9e40252e64e7e85af6.tar.zst
nixpkgs-d97dbf87c08af62b5e396f9e40252e64e7e85af6.zip
dfasma: build with Qt 5.5
Diffstat (limited to 'pkgs/applications/audio/dfasma')
-rw-r--r--pkgs/applications/audio/dfasma/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/audio/dfasma/default.nix b/pkgs/applications/audio/dfasma/default.nix
index fcd30e476cf..d439f344f5b 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";