nixpkgs/pkgs/development/libraries/zvbi/default.nix

16 lines
395 B
Nix
Raw Normal View History

{ pngSupport ? true
, stdenv, fetchurl, x11, libpng ? null}:
assert x11 != null;
assert pngSupport -> libpng != null;
stdenv.mkDerivation {
name = "zvbi-0.2.8";
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/zvbi-0.2.8.tar.bz2;
md5 = "8701d3e4387cd896ff8b68831b57d814";
};
buildInputs = [x11 (if pngSupport then libpng else null)];
inherit pngSupport;
}