1{ stdenv, fetchurl, libgcrypt, libgpgerror, yacc, flex }:
2
3# library that allows libbluray to play AACS protected bluray disks
4# libaacs does not infringe DRM's right or copyright. See the legal page of the website for more info.
5
6# Info on how to use / obtain aacs keys:
7# http://vlc-bluray.whoknowsmy.name/
8# https://wiki.archlinux.org/index.php/BluRay
9
10stdenv.mkDerivation rec {
11 name = "libaacs-${version}";
12 version = "0.9.0";
13
14 src = fetchurl {
15 url = "http://get.videolan.org/libaacs/${version}/${name}.tar.bz2";
16 sha256 = "1kms92i0c7i1yl659kqjf19lm8172pnpik5lsxp19xphr74vvq27";
17 };
18
19 buildInputs = [ libgcrypt libgpgerror ];
20
21 nativeBuildInputs = [ yacc flex ];
22
23 meta = with stdenv.lib; {
24 homepage = https://www.videolan.org/developers/libaacs.html;
25 description = "Library to access AACS protected Blu-Ray disks";
26 license = licenses.lgpl21;
27 maintainers = with maintainers; [ abbradar ];
28 platforms = with platforms; linux;
29 };
30}