1e04d875db
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.
24 lines
658 B
Nix
24 lines
658 B
Nix
{stdenv, fetchurl, pkgconfig, libdvdread}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libdvdnav-${version}";
|
|
version = "5.0.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://get.videolan.org/libdvdnav/${version}/${name}.tar.bz2";
|
|
sha256 = "5097023e3d2b36944c763f1df707ee06b19dc639b2b68fb30113a5f2cbf60b6d";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [libdvdread];
|
|
|
|
meta = {
|
|
homepage = http://dvdnav.mplayerhq.hu/;
|
|
description = "A library that implements DVD navigation features such as DVD menus";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
|
};
|
|
|
|
passthru = { inherit libdvdread; };
|
|
}
|