2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl, pkg-config, libdvdread}:
|
2006-06-30 00:48:19 +01:00
|
|
|
|
2015-05-15 04:26:16 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libdvdnav";
|
2020-03-24 14:41:22 +00:00
|
|
|
version = "6.1.0";
|
2015-05-15 04:26:16 +01:00
|
|
|
|
2006-06-30 00:48:19 +01:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://get.videolan.org/libdvdnav/${version}/${pname}-${version}.tar.bz2";
|
2020-03-24 14:41:22 +00:00
|
|
|
sha256 = "0nzf1ir27s5vs1jrisdiw9ag2sc160k3gv7nplv9ypppm5gb35zn";
|
2006-06-30 00:48:19 +01:00
|
|
|
};
|
2009-03-10 21:03:51 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2009-03-10 21:03:51 +00:00
|
|
|
buildInputs = [libdvdread];
|
|
|
|
|
|
|
|
meta = {
|
2020-03-24 14:41:22 +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";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.wmertens ];
|
|
|
|
platforms = lib.platforms.unix;
|
2009-03-10 21:03:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = { inherit libdvdread; };
|
2006-06-30 00:48:19 +01:00
|
|
|
}
|