at 23.11-beta 27 lines 662 B view raw
1{lib, stdenv, fetchurl, libdvdcss}: 2 3stdenv.mkDerivation rec { 4 pname = "libdvdread"; 5 version = "6.1.3"; 6 7 src = fetchurl { 8 url = "http://get.videolan.org/libdvdread/${version}/${pname}-${version}.tar.bz2"; 9 sha256 = "sha256-zjVFSZeiCMvlDpEjLw5z+xrDRxllgToTuHMKjxihU2k="; 10 }; 11 12 buildInputs = [libdvdcss]; 13 14 NIX_LDFLAGS = "-ldvdcss"; 15 16 postInstall = '' 17 ln -s dvdread $out/include/libdvdread 18 ''; 19 20 meta = { 21 homepage = "http://dvdnav.mplayerhq.hu/"; 22 description = "A library for reading DVDs"; 23 license = lib.licenses.gpl2; 24 maintainers = [ lib.maintainers.wmertens ]; 25 platforms = with lib.platforms; linux ++ darwin; 26 }; 27}