summary refs log tree commit diff
path: root/pkgs/development/libraries/vapoursynth
diff options
context:
space:
mode:
authorTadeo Kondrak <me@tadeo.ca>2019-11-01 12:20:22 -0600
committerTadeo Kondrak <me@tadeo.ca>2019-11-01 12:36:52 -0600
commitd183f7142b17b90abe4808c3f1a94c4ceedbc6ef (patch)
tree27a0175c974388ca21e890de5397d5d6cd6d34cb /pkgs/development/libraries/vapoursynth
parent4a2475c924bfb059abf1db96547e7b390a3f07ca (diff)
downloadnixpkgs-d183f7142b17b90abe4808c3f1a94c4ceedbc6ef.tar
nixpkgs-d183f7142b17b90abe4808c3f1a94c4ceedbc6ef.tar.gz
nixpkgs-d183f7142b17b90abe4808c3f1a94c4ceedbc6ef.tar.bz2
nixpkgs-d183f7142b17b90abe4808c3f1a94c4ceedbc6ef.tar.lz
nixpkgs-d183f7142b17b90abe4808c3f1a94c4ceedbc6ef.tar.xz
nixpkgs-d183f7142b17b90abe4808c3f1a94c4ceedbc6ef.tar.zst
nixpkgs-d183f7142b17b90abe4808c3f1a94c4ceedbc6ef.zip
vapoursynth-editor: use qt's mkDerivation
Diffstat (limited to 'pkgs/development/libraries/vapoursynth')
-rw-r--r--pkgs/development/libraries/vapoursynth/editor.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/libraries/vapoursynth/editor.nix b/pkgs/development/libraries/vapoursynth/editor.nix
index 3853718c154..196c700af17 100644
--- a/pkgs/development/libraries/vapoursynth/editor.nix
+++ b/pkgs/development/libraries/vapoursynth/editor.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchFromBitbucket, makeWrapper
+{ stdenv, mkDerivation, fetchFromBitbucket
 , python3, vapoursynth
 , qmake, qtbase, qtwebsockets
 }:
 
-stdenv.mkDerivation rec {
+mkDerivation rec {
   pname = "vapoursynth-editor";
   version = "R19";
 
@@ -14,18 +14,20 @@ stdenv.mkDerivation rec {
     sha256 = "1zlaynkkvizf128ln50yvzz3b764f5a0yryp6993s9fkwa7djb6n";
   };
 
-  nativeBuildInputs = [ qmake makeWrapper ];
+  nativeBuildInputs = [ qmake ];
   buildInputs = [ qtbase vapoursynth qtwebsockets ];
 
+  dontWrapQtApps = true;
+
   preConfigure = "cd pro";
 
-  installPhase = ''
+  preFixup = ''
     cd ../build/release*
     mkdir -p $out/bin
     for bin in vsedit{,-job-server{,-watcher}}; do
         mv $bin $out/bin
 
-        wrapProgram $out/bin/$bin \
+        wrapQtApp $out/bin/$bin \
             --prefix PYTHONPATH : ${vapoursynth}/${python3.sitePackages} \
             --prefix LD_LIBRARY_PATH : ${vapoursynth}/lib
     done