nixpkgs/pkgs/development/libraries/libdvdnav/default.nix
Vladimír Čunát 1e04d875db 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.
2016-02-07 13:21:18 +01:00

23 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; };
}