nixpkgs/pkgs/applications/video/zapping/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

44 lines
1.2 KiB
Nix

{ teletextSupport ? true
, jpegSupport ? true
, pngSupport ? true
, stdenv, fetchurl, pkgconfig, perl, python, x11, libgnomeui
, libglade, scrollkeeper, esound, gettext
, zvbi ? null, libjpeg ? null, libpng ? null }:
assert pkgconfig != null && perl != null && python != null &&
x11 != null && libgnomeui != null && libglade != null &&
scrollkeeper != null && esound != null && gettext != null;
assert teletextSupport -> zvbi != null && zvbi.pngSupport
&& pngSupport && zvbi.libpng == libpng;
assert jpegSupport -> libjpeg != null;
assert pngSupport -> libpng != null;
stdenv.mkDerivation {
name = "zapping-0.7cvs6";
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.7cvs6.tar.bz2;
md5 = "cdedc0088c70f4520c37066ec05cb996";
};
teletextSupport = teletextSupport;
jpegSupport = jpegSupport;
pngSupport = pngSupport;
pkgconfig = pkgconfig;
perl = perl;
python = python;
x11 = x11;
libgnomeui = libgnomeui;
libglade = libglade;
scrollkeeper = scrollkeeper;
esound = esound;
gettext = gettext;
zvbi = if teletextSupport then zvbi else null;
libjpeg = if jpegSupport then libjpeg else null;
libpng = if pngSupport then libpng else null;
}