1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/development/libraries/zvbi/default.nix

18 lines
434 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.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;
}