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 {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libdvdcss";
|
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 {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://get.videolan.org/libdvdcss/${version}/${pname}-${version}.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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.videolan.org/developers/libdvdcss.html";
|
2009-03-10 08:06:50 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|