about summary refs log tree commit diff
path: root/pkgs/applications/audio/airwave
diff options
context:
space:
mode:
authorStefan Frijters <sfrijters@gmail.com>2023-01-25 23:46:44 +0100
committerStefan Frijters <sfrijters@gmail.com>2023-02-03 23:06:36 +0100
commita7085b026f7948a57096db1451b6803990e5b82a (patch)
tree6bc188dadc8b91f89386fc7c700cee495e54be8e /pkgs/applications/audio/airwave
parentb0ec519e3da593424b4112601968e7b8d77f92c8 (diff)
downloadnixlib-a7085b026f7948a57096db1451b6803990e5b82a.tar
nixlib-a7085b026f7948a57096db1451b6803990e5b82a.tar.gz
nixlib-a7085b026f7948a57096db1451b6803990e5b82a.tar.bz2
nixlib-a7085b026f7948a57096db1451b6803990e5b82a.tar.lz
nixlib-a7085b026f7948a57096db1451b6803990e5b82a.tar.xz
nixlib-a7085b026f7948a57096db1451b6803990e5b82a.tar.zst
nixlib-a7085b026f7948a57096db1451b6803990e5b82a.zip
airwave: fix build
The unfree source is old and hard to find; small version bump so the required
zip file is available via https://github.com/psycha0s/airwave/issues/92 .
Diffstat (limited to 'pkgs/applications/audio/airwave')
-rw-r--r--pkgs/applications/audio/airwave/default.nix34
1 files changed, 27 insertions, 7 deletions
diff --git a/pkgs/applications/audio/airwave/default.nix b/pkgs/applications/audio/airwave/default.nix
index 6ed488d7d643..a57f43eea651 100644
--- a/pkgs/applications/audio/airwave/default.nix
+++ b/pkgs/applications/audio/airwave/default.nix
@@ -1,5 +1,16 @@
-{ lib, stdenv, multiStdenv, cmake, fetchFromGitHub, file, libX11, makeWrapper
-, qt5, requireFile, unzip, wine
+{ lib,
+  stdenv,
+  multiStdenv,
+  fetchFromGitHub,
+  requireFile,
+  unzip,
+  wine,
+  cmake,
+  makeWrapper,
+  wrapQtAppsHook,
+  file,
+  libX11,
+  qt5
 }:
 
 let
@@ -13,11 +24,11 @@ let
   };
 
   vst-sdk = stdenv.mkDerivation rec {
-    name = "vstsdk368_08_11_2017_build_121";
+    name = "vstsdk369_01_03_2018_build_132";
     src = requireFile {
       name = "${name}.zip";
       url = "http://www.steinberg.net/en/company/developers.html";
-      sha256 = "e0f235d8826d70f1ae0ae5929cd198acae1ecff74612fde5c60cbfb45c2f4a70";
+      sha256 = "0r29fv6yhm2m5yznn8m4my7fq01w1lpphax4sshagy6b1dgjlv3w";
     };
     nativeBuildInputs = [ unzip ];
     installPhase = "cp -r . $out";
@@ -42,9 +53,18 @@ multiStdenv.mkDerivation {
 
   src = airwave-src;
 
-  nativeBuildInputs = [ cmake makeWrapper ];
-
-  buildInputs = [ file libX11 qt5.qtbase wine-xembed ];
+  nativeBuildInputs = [
+    cmake
+    makeWrapper
+    wrapQtAppsHook
+  ];
+
+  buildInputs = [
+    file
+    libX11
+    qt5.qtbase
+    wine-xembed
+  ];
 
   postPatch = ''
     # Binaries not used directly should land in libexec/.