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
10let baseName = "libaacs";
11 version = "0.8.1";
12in
13
14stdenv.mkDerivation {
15 name = "${baseName}-${version}";
16
17 src = fetchurl {
18 url = "http://get.videolan.org/${baseName}/${version}/${baseName}-${version}.tar.bz2";
19 sha256 = "1s5v075hnbs57995r6lljm79wgrip3gnyf55a0y7bja75jh49hwm";
20 };
21
22 buildInputs = [ libgcrypt libgpgerror ];
23
24 nativeBuildInputs = [ yacc flex ];
25
26 meta = with stdenv.lib; {
27 homepage = https://www.videolan.org/developers/libaacs.html;
28 description = "Library to access AACS protected Blu-Ray disks";
29 license = licenses.lgpl21;
30 maintainers = with maintainers; [ abbradar ];
31 platforms = with platforms; linux;
32 };
33}