2003-12-03 21:58:16 +00:00
|
|
|
{stdenv, fetchurl, libdvdcss}:
|
|
|
|
|
2015-05-15 04:26:16 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libdvdread";
|
2019-05-06 15:47:10 +01:00
|
|
|
version = "6.0.1";
|
2015-05-15 04:26:16 +01:00
|
|
|
|
2003-12-03 21:58:16 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://get.videolan.org/libdvdread/${version}/${pname}-${version}.tar.bz2";
|
2019-05-06 15:47:10 +01:00
|
|
|
sha256 = "1gfmh8ii3s2fw1c8vn57piwxc0smd3va4h7xgp9s8g48cc04zki8";
|
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 ];
|
2017-04-20 22:42:43 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
}
|