1{ stdenv, fetchurl, libgcrypt, libgpgerror, yacc, flex }:
2
3# library that allows libbluray to play BDplus 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
10
11let baseName = "libbdplus";
12 version = "0.1.2";
13in
14
15stdenv.mkDerivation {
16 name = "${baseName}-${version}";
17
18 src = fetchurl {
19 url = "http://download.videolan.org/pub/videolan/${baseName}/${version}/${baseName}-${version}.tar.bz2";
20 sha256 = "02n87lysqn4kg2qk7d1ffrp96c44zkdlxdj0n16hbgrlrpiwlcd6";
21 };
22
23 buildInputs = [ libgcrypt libgpgerror ];
24
25 nativeBuildInputs = [ ];
26
27 meta = with stdenv.lib; {
28 homepage = http://www.videolan.org/developers/libbdplus.html;
29 description = "Library to access BD+ protected Blu-Ray disks";
30 license = licenses.lgpl21;
31 maintainers = with maintainers; [ abbradar ];
32 };
33}