2015-05-15 04:26:16 +01:00
|
|
|
{stdenv, fetchurl, libdvdcss}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libdvdread-4.9.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://dvdnav.mplayerhq.hu/releases/libdvdread-4.9.9.tar.xz";
|
2015-05-15 04:26:16 +01:00
|
|
|
sha256 = "d91275471ef69d488b05cf15c60e1cd65e17648bfc692b405787419f47ca424a";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libdvdcss];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-ldvdcss";
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
ln -s dvdread $out/include/libdvdread
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://dvdnav.mplayerhq.hu/";
|
2015-05-15 04:26:16 +01:00
|
|
|
description = "A library for reading DVDs";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-05-15 04:26:16 +01:00
|
|
|
};
|
|
|
|
}
|