Merge pull request #35219 from dtzWill/update/radiotray-ng-0.2.1

radiotray-ng: 0.2.0 -> 0.2.1

authored by Will Dietz and committed by GitHub 5dc76b39 9095f028

+7 -6
+7 -6
pkgs/applications/audio/radiotray-ng/default.nix
··· 40 40 in 41 41 stdenv.mkDerivation rec { 42 42 name = "radiotray-ng-${version}"; 43 - version = "0.2.0"; 43 + version = "0.2.1"; 44 44 45 45 src = fetchFromGitHub { 46 46 owner = "ebruck"; 47 47 repo = "radiotray-ng"; 48 48 rev = "v${version}"; 49 - sha256 = "12mhi0q137cjdpmpczvrcr7szq1ja1r8bm0gh03b925y8xyrqp5z"; 49 + sha256 = "0hqg6vn8hv5pic96klf1d9vj8fibrgiqnqb5vwrg3wvakx0y32kr"; 50 50 }; 51 51 52 52 nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook makeWrapper ]; ··· 63 63 ++ pythonInputs; 64 64 65 65 prePatch = '' 66 - substituteInPlace debian/CMakeLists.txt \ 67 - --replace /usr $out 68 - substituteInPlace include/radiotray-ng/common.hpp \ 69 - --replace /usr $out 66 + for x in debian/CMakeLists.txt include/radiotray-ng/common.hpp data/*.desktop; do 67 + substituteInPlace $x --replace /usr $out 68 + done 70 69 71 70 # We don't find the radiotray-ng-notification icon otherwise 72 71 substituteInPlace data/radiotray-ng.desktop \ ··· 74 73 substituteInPlace data/rtng-bookmark-editor.desktop \ 75 74 --replace radiotray-ng-notification radiotray-ng-on 76 75 ''; 76 + 77 + cmakeFlags = stdenv.lib.optional doCheck "-DBUILD_TESTS=ON"; 77 78 78 79 enableParallelBuilding = true; 79 80