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