mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
18 lines
466 B
Nix
18 lines
466 B
Nix
{stdenv, fetchurl, perl, expat, x11, freetype}:
|
|
|
|
# !!! assert freetype == xlibs.freetype
|
|
|
|
stdenv.mkDerivation {
|
|
name = "zoom-1.1.5";
|
|
|
|
src = fetchurl {
|
|
url = http://www.logicalshift.co.uk/unix/zoom/zoom-1.1.5.tar.gz;
|
|
sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj";
|
|
};
|
|
|
|
buildInputs = [perl expat x11 freetype];
|
|
|
|
# Zoom doesn't add the right directory in the include path.
|
|
CFLAGS = ["-I" (freetype + "/include/freetype2")];
|
|
}
|