2016-04-08 12:47:50 +00:00
|
|
|
{stdenv, fetchurl, IOKit}:
|
2004-04-02 15:36:14 +00:00
|
|
|
|
2016-02-07 12:18:48 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libdvdcss";
|
2018-03-31 10:59:09 +00:00
|
|
|
version = "1.4.2";
|
2016-02-07 12:18:48 +00:00
|
|
|
|
2016-04-08 12:47:50 +00:00
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin IOKit;
|
|
|
|
|
2003-12-03 21:58:16 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://get.videolan.org/libdvdcss/${version}/${pname}-${version}.tar.bz2";
|
2018-03-31 10:59:09 +00:00
|
|
|
sha256 = "0x957zzpf4w2cp8zlk29prj8i2q6hay3lzdzsyz8y3cwxivyvhkq";
|
2009-03-10 08:06:50 +00:00
|
|
|
};
|
|
|
|
|
2016-04-13 01:16:10 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00: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 01:16:10 +00:00
|
|
|
license = licenses.gpl2;
|
2016-04-08 12:47:50 +00:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
}
|