12ae5363ea
* 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
18 lines
434 B
Nix
18 lines
434 B
Nix
{ pngSupport ? true
|
|
, stdenv, fetchurl, x11, libpng ? null}:
|
|
|
|
assert x11 != null;
|
|
assert pngSupport -> libpng != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "zvbi-0.2.5";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zvbi-0.2.5.tar.bz2;
|
|
md5 = "06b370565246758813f6580797369518";
|
|
};
|
|
x11 = x11;
|
|
pngSupport = pngSupport;
|
|
libpng = if pngSupport then libpng else null;
|
|
}
|