summary refs log tree commit diff
path: root/pkgs/development/libraries/libdvdnav/default.nix
blob: 4ba938911a41eed7af3f8521c175fffe194acfe0 (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
25
{stdenv, fetchurl, libdvdread}:

stdenv.mkDerivation {
  name = "libdvdnav-4.1.3";
  
  src = fetchurl {
    url = http://www2.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdnav-4.1.3.tar.bz2;
    sha1 = "d1b95eb8a7caee1fa7580a1abad84d6cb3cad046";
  };

  buildInputs = [libdvdread];

  configureScript = "./configure2"; # wtf?

  preConfigure = ''
    mkdir -p $out
  '';

  meta = {
    homepage = http://www.mplayerhq.hu/;
    description = "A library that implements DVD navigation features such as DVD menus";
  };

  passthru = { inherit libdvdread; };
}