lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 38 lines 1.1 kB view raw
1{ lib, stdenv, fetchurl, bison, ncurses }: 2 3stdenv.mkDerivation rec { 4 pname = "ispell"; 5 version = "3.4.06"; 6 7 src = fetchurl { 8 url = "https://www.cs.hmc.edu/~geoff/tars/${pname}-${version}.tar.gz"; 9 sha256 = "sha256-F8kWM9TIB1rMUDFjoWRj/FSrHHRTKArTnNPbdceD66Y="; 10 }; 11 12 buildInputs = [ bison ncurses ]; 13 14 postPatch = '' 15 cat >> local.h <<EOF 16 ${lib.optionalString (!stdenv.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" 27 #define MINIMENU 28 #define HAS_RENAME 29 EOF 30 ''; 31 32 meta = with lib; { 33 description = "An interactive spell-checking program for Unix"; 34 homepage = "https://www.cs.hmc.edu/~geoff/ispell.html"; 35 license = licenses.free; 36 platforms = platforms.unix; 37 }; 38}