mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
28 lines
659 B
Nix
28 lines
659 B
Nix
{stdenv, fetchurl, libdvdcss}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libdvdread-${version}";
|
|
version = "5.0.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://get.videolan.org/libdvdread/${version}/${name}.tar.bz2";
|
|
sha256 = "0ayqiq0psq18rcp6f5pz82sxsq66v0kwv0y55dbrcg68plnxy71j";
|
|
};
|
|
|
|
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 ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|