2014-05-03 23:23:13 +00:00
|
|
|
{stdenv, fetchurl, pkgconfig, libdvdread}:
|
2006-06-29 23:48:19 +00:00
|
|
|
|
2015-05-15 03:26:16 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libdvdnav-${version}";
|
|
|
|
version = "5.0.3";
|
|
|
|
|
2006-06-29 23:48:19 +00:00
|
|
|
src = fetchurl {
|
2016-02-07 12:18:48 +00:00
|
|
|
url = "http://get.videolan.org/libdvdnav/${version}/${name}.tar.bz2";
|
2015-05-15 03:26:16 +00:00
|
|
|
sha256 = "5097023e3d2b36944c763f1df707ee06b19dc639b2b68fb30113a5f2cbf60b6d";
|
2006-06-29 23:48:19 +00:00
|
|
|
};
|
2009-03-10 21:03:51 +00:00
|
|
|
|
2014-05-03 23:23:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2009-03-10 21:03:51 +00:00
|
|
|
buildInputs = [libdvdread];
|
|
|
|
|
|
|
|
meta = {
|
2014-05-03 23:23:13 +00: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-03 23:23:13 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-03-10 21:03:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = { inherit libdvdread; };
|
2006-06-29 23:48:19 +00:00
|
|
|
}
|