Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 30 lines 974 B view raw
1{ lib, stdenv, fetchurl, libgcrypt, libgpgerror, gettext }: 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 10stdenv.mkDerivation rec { 11 pname = "libbdplus"; 12 version = "0.1.2"; 13 14 src = fetchurl { 15 url = "http://get.videolan.org/libbdplus/${version}/${pname}-${version}.tar.bz2"; 16 sha256 = "02n87lysqn4kg2qk7d1ffrp96c44zkdlxdj0n16hbgrlrpiwlcd6"; 17 }; 18 19 buildInputs = [ libgcrypt libgpgerror gettext ]; 20 21 nativeBuildInputs = [ ]; 22 23 meta = with lib; { 24 homepage = "http://www.videolan.org/developers/libbdplus.html"; 25 description = "Library to access BD+ protected Blu-Ray disks"; 26 license = licenses.lgpl21; 27 maintainers = with maintainers; [ abbradar ]; 28 platforms = with platforms; unix; 29 }; 30}