nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 19.03 20 lines 567 B view raw
1{stdenv, fetchurl, IOKit}: 2 3stdenv.mkDerivation rec { 4 name = "libdvdcss-${version}"; 5 version = "1.4.2"; 6 7 buildInputs = stdenv.lib.optional stdenv.isDarwin IOKit; 8 9 src = fetchurl { 10 url = "http://get.videolan.org/libdvdcss/${version}/${name}.tar.bz2"; 11 sha256 = "0x957zzpf4w2cp8zlk29prj8i2q6hay3lzdzsyz8y3cwxivyvhkq"; 12 }; 13 14 meta = with stdenv.lib; { 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; 19 }; 20}