1{lib, stdenv, fetchurl, pkg-config, libdvdread}:
2
3stdenv.mkDerivation rec {
4 pname = "libdvdnav";
5 version = "6.1.1";
6
7 src = fetchurl {
8 url = "http://get.videolan.org/libdvdnav/${version}/${pname}-${version}.tar.bz2";
9 sha256 = "sha256-wZGnR1lH0yP/doDPksD7G+gjdwGIXzdlbGTQTpjRjUg=";
10 };
11
12 nativeBuildInputs = [ pkg-config ];
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 = lib.licenses.gpl2;
19 maintainers = [ lib.maintainers.wmertens ];
20 platforms = lib.platforms.unix;
21 };
22
23 passthru = { inherit libdvdread; };
24}