nixpkgs/pkgs/applications/video/vlc/default.nix
Eelco Dolstra 12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00

28 lines
720 B
Nix

{ stdenv, fetchurl, x11, wxGTK, libdvdcss, libdvdplay
, mpeg2dec, a52dec, libmad, alsa}:
assert x11 != null && wxGTK != null && libdvdcss != null
&& libdvdplay != null && mpeg2dec != null && a52dec != null
&& libmad != null && alsa != null;
assert libdvdplay.libdvdread.libdvdcss == libdvdcss;
stdenv.mkDerivation {
name = "vlc-0.7.0";
builder = ./builder.sh;
src = fetchurl {
url = http://download.videolan.org/pub/videolan/vlc/0.7.0/vlc-0.7.0.tar.gz;
md5 = "05efef68528892ca933585c7db0842e3";
};
x11 = x11;
wxGTK = wxGTK;
libdvdcss = libdvdcss;
libdvdplay = libdvdplay;
libdvdread = libdvdplay.libdvdread;
mpeg2dec = mpeg2dec;
a52dec = a52dec;
libmad = libmad;
alsa = alsa;
}