2016-04-08 13:47:50 +01:00
|
|
|
{stdenv, fetchurl, IOKit}:
|
2004-04-02 16:36:14 +01:00
|
|
|
|
2016-02-07 12:18:48 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libdvdcss-${version}";
|
2018-03-31 11:59:09 +01:00
|
|
|
version = "1.4.2";
|
2016-02-07 12:18:48 +00:00
|
|
|
|
2016-04-08 13:47:50 +01:00
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin IOKit;
|
|
|
|
|
2003-12-03 21:58:16 +00:00
|
|
|
src = fetchurl {
|
2016-02-07 12:18:48 +00:00
|
|
|
url = "http://get.videolan.org/libdvdcss/${version}/${name}.tar.bz2";
|
2018-03-31 11:59:09 +01:00
|
|
|
sha256 = "0x957zzpf4w2cp8zlk29prj8i2q6hay3lzdzsyz8y3cwxivyvhkq";
|
2009-03-10 08:06:50 +00:00
|
|
|
};
|
|
|
|
|
2016-04-13 02:16:10 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-03-10 08:06:50 +00:00
|
|
|
homepage = http://www.videolan.org/developers/libdvdcss.html;
|
|
|
|
description = "A library for decrypting DVDs";
|
2016-04-13 02:16:10 +01:00
|
|
|
license = licenses.gpl2;
|
2016-04-08 13:47:50 +01:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
}
|