Merge pull request #228135 from wegank/audacity-bump

audacity: 3.2.5 -> 3.3.0

authored by Weijia Wang and committed by GitHub 7c2405b1 2eb3e4c7

+8 -3
+8 -3
pkgs/applications/audio/audacity/default.nix
··· 61 61 62 62 stdenv.mkDerivation rec { 63 63 pname = "audacity"; 64 - version = "3.2.5"; 64 + version = "3.3.0"; 65 65 66 66 src = fetchFromGitHub { 67 67 owner = pname; 68 68 repo = pname; 69 69 rev = "Audacity-${version}"; 70 - hash = "sha256-tMz55fZh+TfvLEyApDqC0QMd2hEQLJsNQ6y2Xy0xgaQ="; 70 + hash = "sha256-OQX3YFUdK9TR7ZuN2dZc6ZAWaqfftk5VH0qoOwbTAuM="; 71 71 }; 72 72 73 73 postPatch = '' 74 74 mkdir src/private 75 + substituteInPlace scripts/build/macOS/fix_bundle.py \ 76 + --replace "path.startswith('/usr/lib/')" "path.startswith('${builtins.storeDir}')" 75 77 '' + lib.optionalString stdenv.isLinux '' 76 78 substituteInPlace libraries/lib-files/FileNames.cpp \ 77 79 --replace /usr/include/linux/magic.h ${linuxHeaders}/include/linux/magic.h ··· 151 153 152 154 # RPATH of binary /nix/store/.../bin/... contains a forbidden reference to /build/ 153 155 "-DCMAKE_SKIP_BUILD_RPATH=ON" 156 + 157 + # Fix duplicate store paths 158 + "-DCMAKE_INSTALL_LIBDIR=lib" 154 159 ]; 155 160 156 161 # [ 57%] Generating LightThemeAsCeeCode.h... 157 162 # ../../utils/image-compiler: error while loading shared libraries: 158 163 # lib-theme.so: cannot open shared object file: No such file or directory 159 164 preBuild = '' 160 - export LD_LIBRARY_PATH=$PWD/utils 165 + export LD_LIBRARY_PATH=$PWD/Release/lib/audacity 161 166 ''; 162 167 163 168 doCheck = false; # Test fails