bomi: update package

+5 -10
+5 -10
pkgs/applications/video/bomi/default.nix
··· 26 assert cddaSupport -> libcdda != null; 27 assert youtubeSupport -> youtube-dl != null; 28 29 - let 30 - waf = fetchurl { 31 - url = http://ftp.waf.io/pub/release/waf-1.8.4; 32 - sha256 = "1a7skwgpl91adhcwlmdr76xzdpidh91hvcmj34zz6548bpx3a87h"; 33 - }; 34 - 35 in 36 37 stdenv.mkDerivation rec { 38 name = "bomi-${version}"; 39 - version = "0.9.10"; 40 41 src = fetchFromGitHub { 42 owner = "xylosper"; 43 repo = "bomi"; 44 rev = "v${version}"; 45 - sha256 = "1c7497gks7yxzfy6jx77vn9zs2pdq7y6l9w61miwnkdm91093n17"; 46 }; 47 48 buildInputs = with stdenv.lib; 49 [ libX11 libxcb mesa 50 - qt5.base qt5.x11extras qt5.declarative qt5.quickcontrols 51 ffmpeg 52 libchardet 53 mpg123 ··· 72 ''; 73 74 preBuild = '' 75 - install -m755 ${waf} src/mpv/waf 76 patchShebangs src/mpv/waf 77 patchShebangs build-mpv 78 ''; 79 80 postInstall = '' 81 wrapProgram $out/bin/bomi \ 82 ${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"} 83 ''; 84
··· 26 assert cddaSupport -> libcdda != null; 27 assert youtubeSupport -> youtube-dl != null; 28 29 + let qtPath = makeSearchPath "lib/qt5/qml" [ qt5.declarative qt5.quickcontrols ]; 30 in 31 32 stdenv.mkDerivation rec { 33 name = "bomi-${version}"; 34 + version = "0.9.11"; 35 36 src = fetchFromGitHub { 37 owner = "xylosper"; 38 repo = "bomi"; 39 rev = "v${version}"; 40 + sha256 = "0a7n46gn3n5098lxxvl3s29s8jlkzss6by9074jx94ncn9cayf2h"; 41 }; 42 43 buildInputs = with stdenv.lib; 44 [ libX11 libxcb mesa 45 + qt5.base qt5.x11extras 46 ffmpeg 47 libchardet 48 mpg123 ··· 67 ''; 68 69 preBuild = '' 70 patchShebangs src/mpv/waf 71 patchShebangs build-mpv 72 ''; 73 74 postInstall = '' 75 wrapProgram $out/bin/bomi \ 76 + --set QML2_IMPORT_PATH ${qtPath} \ 77 ${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"} 78 ''; 79