1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 21:54:10 +00:00
nixpkgs/pkgs/development/libraries/zvbi/default.nix

16 lines
403 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://heanet.dl.sourceforge.net/sourceforge/zapping/zvbi-0.2.8.tar.bz2;
md5 = "8701d3e4387cd896ff8b68831b57d814";
};
buildInputs = [x11 (if pngSupport then libpng else null)];
inherit pngSupport;
}