From 1e04d875db7b16348318f53589e92b190e9322ce Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Sun, 7 Feb 2016 13:18:48 +0100 Subject: videolan.org sources: prefer http://get.videolan.org Some of the original URLs were broken now. It seems that set of mirrors is preferred and faster than the others. In the x264 case the source isn't there so http://download.videolan.org is used instead. --- pkgs/development/libraries/libdvdcss/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'pkgs/development/libraries/libdvdcss/default.nix') diff --git a/pkgs/development/libraries/libdvdcss/default.nix b/pkgs/development/libraries/libdvdcss/default.nix index 8632da12c73..d68b0a36751 100644 --- a/pkgs/development/libraries/libdvdcss/default.nix +++ b/pkgs/development/libraries/libdvdcss/default.nix @@ -1,10 +1,11 @@ {stdenv, fetchurl}: -stdenv.mkDerivation { - name = "libdvdcss-1.3.0"; - +stdenv.mkDerivation rec { + name = "libdvdcss-${version}"; + version = "1.3.0"; + src = fetchurl { - url = http://download.videolan.org/pub/libdvdcss/1.3.0/libdvdcss-1.3.0.tar.bz2; + url = "http://get.videolan.org/libdvdcss/${version}/${name}.tar.bz2"; sha256 = "158k9zagmbk5bkbz96l6lwhh7xcgfcnzflkr4vblskhcab6llhbw"; }; -- cgit 1.4.1