about summary refs log tree commit diff
path: root/pkgs/development/libraries/libdvbpsi
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-02-07 13:18:48 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-02-07 13:21:18 +0100
commit1e04d875db7b16348318f53589e92b190e9322ce (patch)
tree73d433a3d3a4cfd5cd27baec8f940d426c643d49 /pkgs/development/libraries/libdvbpsi
parenta538959ca07de128369fcde3e15fdafc9feba863 (diff)
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.
Diffstat (limited to 'pkgs/development/libraries/libdvbpsi')
-rw-r--r--pkgs/development/libraries/libdvbpsi/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libdvbpsi/default.nix b/pkgs/development/libraries/libdvbpsi/default.nix
index f8b9e9ecef904..ecfa14a43c9a5 100644
--- a/pkgs/development/libraries/libdvbpsi/default.nix
+++ b/pkgs/development/libraries/libdvbpsi/default.nix
@@ -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";
   };