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}";
|
2016-04-21 15:14:15 +01:00
|
|
|
version = "1.4.0";
|
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";
|
2016-04-21 15:14:15 +01:00
|
|
|
sha256 = "0nl45ifc4xcb196snv9d6hinfw614cqpzcqp92dg43c0hickg290";
|
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
|
|
|
};
|
|
|
|
}
|