summary refs log tree commit diff
path: root/pkgs/development/libraries/zvbi/default.nix
blob: 6ba67e642234ec845d118a43d4c4d9b3b474e535 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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;
}