nixpkgs/pkgs/development/libraries/libdvdcss/default.nix

21 lines
567 B
Nix
Raw Normal View History

2016-04-08 12:47:50 +00:00
{stdenv, fetchurl, IOKit}:
stdenv.mkDerivation rec {
name = "libdvdcss-${version}";
2016-04-21 14:14:15 +00:00
version = "1.4.0";
2016-04-08 12:47:50 +00:00
buildInputs = stdenv.lib.optional stdenv.isDarwin IOKit;
src = fetchurl {
url = "http://get.videolan.org/libdvdcss/${version}/${name}.tar.bz2";
2016-04-21 14:14:15 +00:00
sha256 = "0nl45ifc4xcb196snv9d6hinfw614cqpzcqp92dg43c0hickg290";
};
meta = with stdenv.lib; {
homepage = http://www.videolan.org/developers/libdvdcss.html;
description = "A library for decrypting DVDs";
license = licenses.gpl2;
2016-04-08 12:47:50 +00:00
platforms = with platforms; linux ++ darwin;
};
}