lol

Merge pull request #10795 from AndersonTorres/mpv

mpv: 0.9.2 -> 0.12.0

+12 -10
+12 -10
pkgs/applications/video/mpv/default.nix
··· 23 23 , vaapiSupport ? false, libva ? null 24 24 }: 25 25 26 - # TODO: Wayland support 27 - # TODO: investigate caca support 28 - # TODO: investigate lua5_sockets bug 29 - 30 26 assert x11Support -> (libX11 != null && libXext != null && mesa != null && libXxf86vm != null); 31 27 assert xineramaSupport -> (libXinerama != null && x11Support); 32 28 assert xvSupport -> (libXv != null && x11Support); ··· 51 47 52 48 # Purity: Waf is normally downloaded by bootstrap.py, but 53 49 # for purity reasons this behavior should be avoided. 50 + wafVersion = "1.8.12"; 54 51 waf = fetchurl { 55 - url = http://ftp.waf.io/pub/release/waf-1.8.5; 56 - sha256 = "0gh266076pd9fzwkycskyd3kkv2kds9613blpxmn9w4glkiwmmh5"; 52 + urls = [ "http://ftp.waf.io/pub/release/waf-${wafVersion}" 53 + "http://waf.io/waf-${wafVersion}" ]; 54 + sha256 = "12y9c352zwliw0zk9jm2lhynsjcf5jy0k1qch1c1av8hnbm2pgq1"; 57 55 }; 58 56 in 59 57 60 58 stdenv.mkDerivation rec { 61 - name = "mpv-${version}"; 62 - version = "0.9.2"; 59 + 60 + name = "mpv-${meta.version}"; 63 61 64 62 src = fetchurl { 65 - url = "https://github.com/mpv-player/mpv/archive/v${version}.tar.gz"; 66 - sha256 = "0la7pmy75mq92kcrawdiw5idw6a46z7d15mlkgs0axyivdaqy560"; 63 + url = "https://github.com/mpv-player/mpv/archive/v${meta.version}.tar.gz"; 64 + sha256 = "1i3cinyjg1k7rp93cgf641zi8j98hl6qd6al9ws51n29qx22096z"; 67 65 }; 68 66 69 67 patchPhase = '' ··· 127 125 ''; 128 126 129 127 meta = with stdenv.lib; { 128 + version = "0.12.0"; 130 129 description = "A media player that supports many video formats (MPlayer and mplayer2 fork)"; 131 130 homepage = http://mpv.io; 132 131 license = licenses.gpl2Plus; ··· 140 139 ''; 141 140 }; 142 141 } 142 + # TODO: Wayland support 143 + # TODO: investigate caca support 144 + # TODO: investigate lua5_sockets bug