mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
454707da23
svn path=/nixpkgs/trunk/; revision=3660
16 lines
384 B
Nix
16 lines
384 B
Nix
{ 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://nix.cs.uu.nl/dist/tarballs/zvbi-0.2.8.tar.bz2;
|
|
md5 = "8701d3e4387cd896ff8b68831b57d814";
|
|
};
|
|
buildInputs = [x11 (if pngSupport then libpng else null)];
|
|
inherit pngSupport;
|
|
}
|