mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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.
This commit is contained in:
parent
a538959ca0
commit
1e04d875db
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
version = "2.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.videolan.org/vlc/${version}/${name}.tar.xz";
|
||||
url = "http://get.videolan.org/vlc/${version}/${name}.tar.xz";
|
||||
sha256 = "1jqzrzrpw6932lbkf863xk8cfmn4z2ngbxz7w8ggmh4f6xz9sgal";
|
||||
};
|
||||
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
name = "${baseName}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.videolan.org/pub/videolan/${baseName}/${version}/${baseName}-${version}.tar.bz2";
|
||||
url = "http://get.videolan.org/${baseName}/${version}/${baseName}-${version}.tar.bz2";
|
||||
sha256 = "1s5v075hnbs57995r6lljm79wgrip3gnyf55a0y7bja75jh49hwm";
|
||||
};
|
||||
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
name = "${baseName}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.videolan.org/pub/videolan/${baseName}/${version}/${baseName}-${version}.tar.bz2";
|
||||
url = "http://get.videolan.org/${baseName}/${version}/${baseName}-${version}.tar.bz2";
|
||||
sha256 = "02n87lysqn4kg2qk7d1ffrp96c44zkdlxdj0n16hbgrlrpiwlcd6";
|
||||
};
|
||||
|
||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
name = "${baseName}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.videolan.org/pub/videolan/${baseName}/${version}/${name}.tar.bz2";
|
||||
url = "http://get.videolan.org/${baseName}/${version}/${name}.tar.bz2";
|
||||
sha256 = "1sp71j4agcsg17g6b85cqz78pn5vknl5pl39rvr6mkib5ps99jgg";
|
||||
};
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "libdvbpsi-0.2.2";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libdvbpsi-${version}";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.videolan.org/pub/libdvbpsi/0.2.2/libdvbpsi-0.2.2.tar.bz2;
|
||||
url = "http://get.videolan.org/libdvbpsi/${version}/${name}.tar.bz2";
|
||||
sha256 = "1lry2swxqm8mhq0a4rjnc819ngsf2pxnfjajb57lml7yr12j79ls";
|
||||
};
|
||||
|
||||
|
@ -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";
|
||||
};
|
||||
|
||||
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||
version = "5.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.videolan.org/pub/videolan/libdvdnav/${version}/libdvdnav-${version}.tar.bz2";
|
||||
url = "http://get.videolan.org/libdvdnav/${version}/${name}.tar.bz2";
|
||||
sha256 = "5097023e3d2b36944c763f1df707ee06b19dc639b2b68fb30113a5f2cbf60b6d";
|
||||
};
|
||||
|
||||
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||
version = "5.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.videolan.org/pub/videolan/libdvdread/${version}/libdvdread-${version}.tar.bz2";
|
||||
url = "http://get.videolan.org/libdvdread/${version}/${name}.tar.bz2";
|
||||
sha256 = "82cbe693f2a3971671e7428790b5498392db32185b8dc8622f7b9cd307d3cfbf";
|
||||
};
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
{stdenv, fetchurl, yasm, enable10bit ? false}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "snapshot-20141218-2245-stable";
|
||||
name = "x264-20141218-2245";
|
||||
version = "20141218-2245";
|
||||
name = "x264-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-${version}.tar.bz2";
|
||||
url = "http://download.videolan.org/x264/snapshots/x264-snapshot-${version}-stable.tar.bz2";
|
||||
sha256 = "1gp1f0382vh2hmgc23ldqyywcfljg8lsgl2849ymr14r6gxfh69m";
|
||||
};
|
||||
|
||||
|
@ -19,7 +19,10 @@ stdenv.mkDerivation rec {
|
||||
version = "1.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/videolan/x265/archive/${version}.tar.gz";
|
||||
urls = [
|
||||
"http://get.videolan.org/x265/x265_${version}.tar.gz"
|
||||
"https://github.com/videolan/x265/archive/${version}.tar.gz"
|
||||
];
|
||||
sha256 = "18w3whmbjlalvysny51kdq9b228iwg3rdav4kmifazksvrm4yacq";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user