summary refs log tree commit diff
path: root/pkgs/development/libraries/zvbi/default.nix
blob: 763dab66013df62b68724d625d7dfe57ba00986b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ pngSupport ? true
, stdenv, fetchurl, x11, libpng ? null}:

assert x11 != null;
assert pngSupport -> libpng != null;

stdenv.mkDerivation {
  name = "zvbi-0.2.12";
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/zvbi-0.2.22.tar.bz2;
    md5 = "a01cbe39a48579ba92582ff75a5e37c2";
  };
  buildInputs = [x11 (if pngSupport then libpng else null)];
  inherit pngSupport;
}