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