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