NixOS/nixpkgs — pull request #1190 by kowey (2013-11-08 16:23:07+00:00)
Title: gnuplot on MacOS X (2nd attempt at #1166)

#1166 removed the emacs dependency and built with the aqua driver by default on Mac. But there are two problems:

1. we need emacs for the Gnuplot Lisp code
2. this aqua driver thing seems to require that AquaTerm be installed on compile time

So this version sticks with the X11 version by default, but offers a top-level gnuplot_aquaterm that you can use to build a more Mac-y gnuplot.

I haven't yet dared contribute an Aquaterm derivation because I don't really know what I'm doing. It's currently installed as a “framework” (/Library/Frameworks/AquaTerm.framework) which I dimly understand to be self-contained collections of libraries. I imagine some future nixpkgs will be able to install frameworks too so you get something like ~/.nix-profile/Frameworks.