2003-12-03 22:58:16 +01:00
|
|
|
{stdenv, fetchurl, libdvdcss}:
|
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2014-05-04 01:23:13 +02:00
|
|
|
name = "libdvdread-4.9.9";
|
2009-03-10 22:03:51 +01:00
|
|
|
|
2003-12-03 22:58:16 +01:00
|
|
|
src = fetchurl {
|
2014-05-04 01:23:13 +02:00
|
|
|
url = http://dvdnav.mplayerhq.hu/releases/libdvdread-4.9.9.tar.xz;
|
|
|
|
sha256 = "d91275471ef69d488b05cf15c60e1cd65e17648bfc692b405787419f47ca424a";
|
2009-03-10 22:03:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libdvdcss];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-ldvdcss";
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
ln -s dvdread $out/include/libdvdread
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-05-04 01:23:13 +02:00
|
|
|
homepage = http://dvdnav.mplayerhq.hu/;
|
2009-03-10 22:03:51 +01:00
|
|
|
description = "A library for reading DVDs";
|
2014-05-04 01:23:13 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
2003-12-03 22:58:16 +01:00
|
|
|
};
|
|
|
|
}
|