summary refs log tree commit diff
path: root/pkgs/development/libraries/libaacs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-02-22 20:29:25 +0000
committerPeter Simons <simons@cryp.to>2012-02-22 20:29:25 +0000
commit0efd53814ff02286d96f1ecd84d110bb6c7e82a5 (patch)
treef55c3c3db486b8c29faf6caba93c0a052dcb9310 /pkgs/development/libraries/libaacs
parent846a12f9541c66647fc1803f0bc814603fb5d085 (diff)
downloadnixpkgs-0efd53814ff02286d96f1ecd84d110bb6c7e82a5.tar
nixpkgs-0efd53814ff02286d96f1ecd84d110bb6c7e82a5.tar.gz
nixpkgs-0efd53814ff02286d96f1ecd84d110bb6c7e82a5.tar.bz2
nixpkgs-0efd53814ff02286d96f1ecd84d110bb6c7e82a5.tar.lz
nixpkgs-0efd53814ff02286d96f1ecd84d110bb6c7e82a5.tar.xz
nixpkgs-0efd53814ff02286d96f1ecd84d110bb6c7e82a5.tar.zst
nixpkgs-0efd53814ff02286d96f1ecd84d110bb6c7e82a5.zip
new library: libaacs for decoding bluray disks
Does not contain any drm or copyright infringements.

svn path=/nixpkgs/trunk/; revision=32485
Diffstat (limited to 'pkgs/development/libraries/libaacs')
-rw-r--r--pkgs/development/libraries/libaacs/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libaacs/default.nix b/pkgs/development/libraries/libaacs/default.nix
new file mode 100644
index 00000000000..d8ace22bc2d
--- /dev/null
+++ b/pkgs/development/libraries/libaacs/default.nix
@@ -0,0 +1,30 @@
+{stdenv, fetchurl, libgcrypt}:
+
+# library that allows libbluray to play AACS protected bluray disks
+# libaacs does not infringe DRM's right or copyright. See the legal page of the website for more info.
+
+# Info on how to use / obtain aacs keys:
+# http://vlc-bluray.whoknowsmy.name/
+# https://wiki.archlinux.org/index.php/BluRay
+
+
+let baseName = "libaacs";
+    version  = "0.3.0";
+in
+
+stdenv.mkDerivation {
+  name = "${baseName}-${version}";
+
+  src = fetchurl {
+    url = "http://download.videolan.org/pub/videolan/${baseName}/${version}/${baseName}-${version}.tar.bz2";
+    sha256 = "bf92dab1a6a8ee08a55e8cf347c2cda49e6535b52e85bb1e92e1cfcc8ecec22c";
+  };
+
+  buildInputs = [libgcrypt];
+
+  meta = {
+    homepage = http://www.videolan.org/developers/libbluray.html;
+    description = "Library to access Blu-Ray disks for video playback";
+    license = stdenv.lib.licenses.lgpl21;
+  };
+}