2003-12-03 21:58:16 +00:00
|
|
|
{stdenv, fetchurl, libdvdcss}:
|
|
|
|
|
2015-05-15 04:26:16 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libdvdread-${version}";
|
|
|
|
version = "5.0.2";
|
|
|
|
|
2003-12-03 21:58:16 +00:00
|
|
|
src = fetchurl {
|
2015-05-15 04:26:16 +01:00
|
|
|
url = "http://download.videolan.org/pub/videolan/libdvdread/${version}/libdvdread-${version}.tar.bz2";
|
|
|
|
sha256 = "82cbe693f2a3971671e7428790b5498392db32185b8dc8622f7b9cd307d3cfbf";
|
2009-03-10 21:03:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libdvdcss];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-ldvdcss";
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
ln -s dvdread $out/include/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 for reading DVDs";
|
2014-05-04 00:23:13 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
}
|