1 { lib, stdenv, fetchurl, bison, ncurses }:
3 stdenv.mkDerivation rec {
8 url = "https://www.cs.hmc.edu/~geoff/tars/${pname}-${version}.tar.gz";
9 sha256 = "sha256-F8kWM9TIB1rMUDFjoWRj/FSrHHRTKArTnNPbdceD66Y=";
12 buildInputs = [ bison ncurses ];
16 ${lib.optionalString (!stdenv.hostPlatform.isDarwin) "#define USG"}
17 #define TERMLIB "-lncurses"
18 #define LANGUAGES "{american,MASTERDICTS=american.med,HASHFILES=americanmed.hash}"
19 #define MASTERHASH "americanmed.hash"
20 #define BINDIR "$out/bin"
21 #define LIBDIR "$out/lib"
22 #define ELISPDIR "{$out}/share/emacs/site-lisp"
23 #define TEXINFODIR "$out/share/info"
24 #define MAN1DIR "$out/share/man/man1"
25 #define MAN4DIR "$out/share/man/man4"
26 #define MAN45DIR "$out/share/man/man5"
33 description = "Interactive spell-checking program for Unix";
34 homepage = "https://www.cs.hmc.edu/~geoff/ispell.html";
35 license = licenses.free;
36 platforms = platforms.unix;