2021-01-21 17:00:13 +00:00
|
|
|
{lib, 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";
|
2021-04-29 17:05:54 +00:00
|
|
|
version = "1.4.3";
|
2016-02-07 12:18:48 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin IOKit;
|
2016-04-08 12:47:50 +00:00
|
|
|
|
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";
|
2021-04-29 17:05:54 +00:00
|
|
|
sha256 = "sha256-IzzJL13AHF06lvWzWCvn1c7lo1pS06CBWHRdPYYHAHk=";
|
2009-03-10 08:06:50 +00:00
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with 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
|
|
|
};
|
|
|
|
}
|