summary refs log tree commit diff
path: root/pkgs/development/libraries/audio
diff options
context:
space:
mode:
authorOPNA2608 <christoph.neidahl@gmail.com>2021-11-21 12:22:05 +0100
committertomberek <tomberek@users.noreply.github.com>2021-11-21 19:00:38 -0500
commit36a37f7a8f4498b33788729aed10b13b8d6ceb47 (patch)
treecc83e4d2151facde24568408305da5903409cc6a /pkgs/development/libraries/audio
parentdf61dcbba3dcd260ab19276a8a37a0b31710fd94 (diff)
downloadnixpkgs-36a37f7a8f4498b33788729aed10b13b8d6ceb47.tar
nixpkgs-36a37f7a8f4498b33788729aed10b13b8d6ceb47.tar.gz
nixpkgs-36a37f7a8f4498b33788729aed10b13b8d6ceb47.tar.bz2
nixpkgs-36a37f7a8f4498b33788729aed10b13b8d6ceb47.tar.lz
nixpkgs-36a37f7a8f4498b33788729aed10b13b8d6ceb47.tar.xz
nixpkgs-36a37f7a8f4498b33788729aed10b13b8d6ceb47.tar.zst
nixpkgs-36a37f7a8f4498b33788729aed10b13b8d6ceb47.zip
rtaudio: 5.1.0 -> 5.2.0
Diffstat (limited to 'pkgs/development/libraries/audio')
-rw-r--r--pkgs/development/libraries/audio/rtaudio/default.nix20
1 files changed, 2 insertions, 18 deletions
diff --git a/pkgs/development/libraries/audio/rtaudio/default.nix b/pkgs/development/libraries/audio/rtaudio/default.nix
index 4f2f78f20cf..11305b3735b 100644
--- a/pkgs/development/libraries/audio/rtaudio/default.nix
+++ b/pkgs/development/libraries/audio/rtaudio/default.nix
@@ -2,7 +2,6 @@
 , lib
 , config
 , fetchFromGitHub
-, fetchpatch
 , cmake
 , pkg-config
 , alsaSupport ? stdenv.hostPlatform.isLinux
@@ -16,31 +15,16 @@
 }:
 
 stdenv.mkDerivation rec {
-  version = "5.1.0";
   pname = "rtaudio";
+  version = "5.2.0";
 
   src = fetchFromGitHub {
     owner = "thestk";
     repo = "rtaudio";
     rev = version;
-    sha256 = "1pglnjz907ajlhnlnig3p0sx7hdkpggr8ss7b3wzf1lykzgv9l52";
+    sha256 = "0xvahlfj3ysgsjsp53q81hayzw7f99n1g214gh7dwdr52kv2l987";
   };
 
-  patches = [
-    # Fixes missing headers & install location
-    # Drop with version > 5.1.0
-    (fetchpatch {
-      name = "RtAudio-Adjust-CMake-public-header-installs-to-match-autotools.patch";
-      url = "https://github.com/thestk/rtaudio/commit/4273cf7572b8f51b5996cf6b42e3699cc6b165da.patch";
-      sha256 = "1p0idll0xsfk3jwjg83jkxkaf20gk0wqa7l982ni389rn6i4n26p";
-    })
-  ];
-
-  postPatch = ''
-    substituteInPlace rtaudio.pc.in \
-      --replace 'Requires:' 'Requires.private:'
-  '';
-
   nativeBuildInputs = [ cmake pkg-config ];
 
   buildInputs = lib.optional alsaSupport alsa-lib