about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libdvdnav/default.nix
blob: b0dfd1e8fc12cc62c20d790ad1855e18914c6b30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{stdenv, fetchurl, pkgconfig, libdvdread}:

stdenv.mkDerivation rec {
  name = "libdvdnav-${version}";
  version = "6.0.0";

  src = fetchurl {
    url = "http://get.videolan.org/libdvdnav/${version}/${name}.tar.bz2";
    sha256 = "062njcksmpgw9yv3737qkf93r2pzhaxi9szqjabpa8d010dp38ph";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [libdvdread];

  meta = {
    homepage = http://dvdnav.mplayerhq.hu/;
    description = "A library that implements DVD navigation features such as DVD menus";
    license = stdenv.lib.licenses.gpl2;
    maintainers = [ stdenv.lib.maintainers.wmertens ];
    platforms = stdenv.lib.platforms.unix;
  };

  passthru = { inherit libdvdread; };
}