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