summary refs log tree commit diff
path: root/pkgs/development/libraries/libdvdcss/default.nix
blob: 63978cfd740f1b853621e18d406a2d07a9dee692 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{stdenv, fetchurl, IOKit}:

stdenv.mkDerivation rec {
  name = "libdvdcss-${version}";
  version = "1.4.0";

  buildInputs = stdenv.lib.optional stdenv.isDarwin IOKit;

  src = fetchurl {
    url = "http://get.videolan.org/libdvdcss/${version}/${name}.tar.bz2";
    sha256 = "0nl45ifc4xcb196snv9d6hinfw614cqpzcqp92dg43c0hickg290";
  };

  meta = with stdenv.lib; {
    homepage = http://www.videolan.org/developers/libdvdcss.html;
    description = "A library for decrypting DVDs";
    license = licenses.gpl2;
    platforms = with platforms; linux ++ darwin;
  };
}