mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
01d7d24dbb
Keeping the old version around for now in order to support mplayer.
27 lines
659 B
Nix
27 lines
659 B
Nix
{stdenv, fetchurl, libdvdcss}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libdvdread-${version}";
|
|
version = "5.0.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.videolan.org/pub/videolan/libdvdread/${version}/libdvdread-${version}.tar.bz2";
|
|
sha256 = "82cbe693f2a3971671e7428790b5498392db32185b8dc8622f7b9cd307d3cfbf";
|
|
};
|
|
|
|
buildInputs = [libdvdcss];
|
|
|
|
NIX_LDFLAGS = "-ldvdcss";
|
|
|
|
postInstall = ''
|
|
ln -s dvdread $out/include/libdvdread
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://dvdnav.mplayerhq.hu/;
|
|
description = "A library for reading DVDs";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
|
};
|
|
}
|