1{stdenv, fetchurl, pkgconfig, libdvdread}:
2
3stdenv.mkDerivation rec {
4 name = "libdvdnav-${version}";
5 version = "5.0.3";
6
7 src = fetchurl {
8 url = "http://get.videolan.org/libdvdnav/${version}/${name}.tar.bz2";
9 sha256 = "5097023e3d2b36944c763f1df707ee06b19dc639b2b68fb30113a5f2cbf60b6d";
10 };
11
12 nativeBuildInputs = [ pkgconfig ];
13 buildInputs = [libdvdread];
14
15 meta = {
16 homepage = http://dvdnav.mplayerhq.hu/;
17 description = "A library that implements DVD navigation features such as DVD menus";
18 license = stdenv.lib.licenses.gpl2;
19 maintainers = [ stdenv.lib.maintainers.wmertens ];
20 platforms = stdenv.lib.platforms.linux;
21 };
22
23 passthru = { inherit libdvdread; };
24}