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