2014-05-03 16:23:13 -07:00
|
|
|
{stdenv, fetchurl, pkgconfig, libdvdread}:
|
2006-06-29 16:48:19 -07:00
|
|
|
|
2015-05-14 20:26:16 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libdvdnav-${version}";
|
|
|
|
version = "5.0.3";
|
|
|
|
|
2006-06-29 16:48:19 -07:00
|
|
|
src = fetchurl {
|
2016-02-07 04:18:48 -08:00
|
|
|
url = "http://get.videolan.org/libdvdnav/${version}/${name}.tar.bz2";
|
2015-05-14 20:26:16 -07:00
|
|
|
sha256 = "5097023e3d2b36944c763f1df707ee06b19dc639b2b68fb30113a5f2cbf60b6d";
|
2006-06-29 16:48:19 -07:00
|
|
|
};
|
2009-03-10 14:03:51 -07:00
|
|
|
|
2014-05-03 16:23:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2009-03-10 14:03:51 -07:00
|
|
|
buildInputs = [libdvdread];
|
|
|
|
|
|
|
|
meta = {
|
2014-05-03 16:23:13 -07:00
|
|
|
homepage = http://dvdnav.mplayerhq.hu/;
|
2009-03-10 14:03:51 -07:00
|
|
|
description = "A library that implements DVD navigation features such as DVD menus";
|
2014-05-03 16:23:13 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-03-10 14:03:51 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = { inherit libdvdread; };
|
2006-06-29 16:48:19 -07:00
|
|
|
}
|