librist: fix darwin

https://code.videolan.org/rist/librist/-/tags/v0.2.11 uses `brew` to
augment the include path which breaks with nixpkgs

+19
+14
pkgs/by-name/li/librist/no-brew-darwin.diff
···
··· 1 + diff --git a/meson.build b/meson.build 2 + index 05d00b3..b923958 100755 3 + --- a/meson.build 4 + +++ b/meson.build 5 + @@ -39,7 +39,8 @@ deps = [] 6 + platform_files = [] 7 + inc = [] 8 + inc += include_directories('.', 'src', 'include/librist', 'include', 'contrib') 9 + -if (host_machine.system() == 'darwin') 10 + +if (host_machine.system() == 'darwin' 11 + + and find_program('brew', required : false).found()) 12 + r = run_command('brew', '--prefix', check: true) 13 + brewoutput = r.stdout().strip() 14 + inc += include_directories(brewoutput + '/include')
+5
pkgs/by-name/li/librist/package.nix
··· 22 hash = "sha256-xWqyQl3peB/ENReMcDHzIdKXXCYOJYbhhG8tcSh36dY="; 23 }; 24 25 nativeBuildInputs = [ 26 meson 27 ninja
··· 22 hash = "sha256-xWqyQl3peB/ENReMcDHzIdKXXCYOJYbhhG8tcSh36dY="; 23 }; 24 25 + patches = [ 26 + # https://code.videolan.org/rist/librist/-/issues/192 27 + ./no-brew-darwin.diff 28 + ]; 29 + 30 nativeBuildInputs = [ 31 meson 32 ninja