summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2014-09-27 17:18:42 -0300
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-09-28 22:46:49 +0100
commit9a6e559b9da0e3c0cb7235ff83b7777a3e9aea7e (patch)
treecb7e12a3f0b33d984765096f4ba74880bb18f163 /pkgs
parent0a6bfe69e5ee56aabb9dda87838b0f98128d5a15 (diff)
downloadnixlib-9a6e559b9da0e3c0cb7235ff83b7777a3e9aea7e.tar
nixlib-9a6e559b9da0e3c0cb7235ff83b7777a3e9aea7e.tar.gz
nixlib-9a6e559b9da0e3c0cb7235ff83b7777a3e9aea7e.tar.bz2
nixlib-9a6e559b9da0e3c0cb7235ff83b7777a3e9aea7e.tar.lz
nixlib-9a6e559b9da0e3c0cb7235ff83b7777a3e9aea7e.tar.xz
nixlib-9a6e559b9da0e3c0cb7235ff83b7777a3e9aea7e.tar.zst
nixlib-9a6e559b9da0e3c0cb7235ff83b7777a3e9aea7e.zip
mpv: update to 0.5.4
Also, a small update on internal let-waf expression

Closes #4306
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/video/mpv/default.nix18
1 files changed, 7 insertions, 11 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix
index a9f9c78d332f..c58ac268b670 100644
--- a/pkgs/applications/video/mpv/default.nix
+++ b/pkgs/applications/video/mpv/default.nix
@@ -22,7 +22,8 @@
 # for Youtube support
 , quviSupport ? false, libquvi ? null
 , cacaSupport ? false, libcaca ? null
-, vaapiSupport ? false, libva ? null }:
+, vaapiSupport ? false, libva ? null
+}:
 
 assert x11Support -> (libX11 != null && libXext != null && mesa != null && libXxf86vm != null);
 assert xineramaSupport -> (libXinerama != null && x11Support);
@@ -49,23 +50,23 @@ assert cacaSupport -> libcaca != null;
 
 let
   waf = fetchurl {
-    url = https://waf.googlecode.com/files/waf-1.7.15;
-    sha256 = "e5ae7028f9b2d8ce1acb9fe1092e8010a90ba764d3ac065ea4e846743290b1d6";
+    url = http://ftp.waf.io/pub/release/waf-1.7.16;
+    sha256 = "b64dc26c882572415fd450b745006107965f3fe17b357e3eb43d6676c9635a61";
   };
 
 in
 
 stdenv.mkDerivation rec {
   name = "mpv-${version}";
-  version = "0.5.0";
+  version = "0.5.4";
 
   src = fetchurl {
     url = "https://github.com/mpv-player/mpv/archive/v${version}.tar.gz";
-    sha256 = "17mmc6xm8yir2p379h00q3wy7rplz2s31h6sxswmzbh72xf10g96";
+    sha256 = "1n992nvylnh27jc6425daasq0nsxjfc1mxhhlhvlwzxm724x94xp";
   };
 
   buildInputs = with stdenv.lib;
-    [ waf freetype pkgconfig ffmpeg libass docutils which libpthreadstubs lua5_sockets ]
+    [ waf python3 lua perl freetype pkgconfig ffmpeg libass docutils which libpthreadstubs lua5_sockets ]
     ++ optionals x11Support [ libX11 libXext mesa libXxf86vm ]
     ++ optional alsaSupport alsaLib
     ++ optional xvSupport libXv
@@ -87,9 +88,6 @@ stdenv.mkDerivation rec {
     ++ optional vaapiSupport libva
     ;
 
-  nativeBuildInputs = [ python3 lua perl ];
-
-
 # There are almost no need of "configure flags", but some libraries
 # weren't detected; see the TODO comments below
 
@@ -127,8 +125,6 @@ stdenv.mkDerivation rec {
   };
 }
 
-# Many thanks @matejc for this update: 0.5.0 and vaapi (experimental)
-
 # TODO: Wayland support
 # TODO: investigate libquvi problems (related to Youtube support)
 # TODO: investigate caca support