mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
91184df3b2
svn path=/nixpkgs/trunk/; revision=719
20 lines
470 B
Nix
20 lines
470 B
Nix
{ pngSupport ? true
|
|
, stdenv, fetchurl, x11, libpng ? null}:
|
|
|
|
assert !isNull x11;
|
|
assert pngSupport -> !isNull libpng;
|
|
|
|
derivation {
|
|
name = "zvbi-0.2.5";
|
|
system = stdenv.system;
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zvbi-0.2.5.tar.bz2;
|
|
md5 = "06b370565246758813f6580797369518";
|
|
};
|
|
stdenv = stdenv;
|
|
x11 = x11;
|
|
pngSupport = pngSupport;
|
|
libpng = if pngSupport then libpng else null;
|
|
}
|