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}";
|
2018-03-23 16:41:19 +00:00
|
|
|
version = "6.0.0";
|
2015-05-15 04:26:16 +01:00
|
|
|
|
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";
|
2018-03-23 16:41:19 +00:00
|
|
|
sha256 = "062njcksmpgw9yv3737qkf93r2pzhaxi9szqjabpa8d010dp38ph";
|
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 ];
|
2018-04-24 21:09:07 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-03-10 21:03:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = { inherit libdvdread; };
|
2006-06-30 00:48:19 +01:00
|
|
|
}
|