1 {lib, stdenv, fetchurl, IOKit}:
3 stdenv.mkDerivation rec {
7 buildInputs = lib.optional stdenv.isDarwin IOKit;
10 url = "http://get.videolan.org/libdvdcss/${version}/${pname}-${version}.tar.bz2";
11 sha256 = "sha256-IzzJL13AHF06lvWzWCvn1c7lo1pS06CBWHRdPYYHAHk=";
15 homepage = "http://www.videolan.org/developers/libdvdcss.html";
16 description = "A library for decrypting DVDs";
17 license = licenses.gpl2;
18 platforms = with platforms; linux ++ darwin;