···1-{ stdenv, fetchFromGitHub, ncurses, texinfo, tetex, perl, ghostscript }:
234stdenv.mkDerivation rec {
···10 rev = version;
11 sha256 = "05inzhlqlf4ka22q78q389pr34bsb4lgp1i5qh550vjkb2cvbdfp";
12 };
13- buildInputs = [ ncurses tetex texinfo perl ghostscript ];
14 dontBuild = true;
15 installPhase = ''
16 substituteInPlace src/makefile --replace "CC=c99" "cc=gcc"
···20 cd src && make && cd ..
21 make PREFIX=$out install
22 '';
23-24 meta = {
25 description = "The nice editor";
26 homepage = https://github.com/vigna/ne;
27 longDescription = ''
28- ne is a free (GPL'd) text editor based on the POSIX standard that runs (we hope) on almost any
29-UN*X machine. ne is easy to use for the beginner, but powerful and fully configurable for the wizard,
30-and most sparing in its resource usage. See the manual for some highlights of ne's features.
031 '';
32 license = stdenv.lib.licenses.gpl3;
33 platforms = stdenv.lib.platforms.unix;
···1+{ stdenv, fetchFromGitHub, ncurses, texinfo, texlive, perl, ghostscript }:
234stdenv.mkDerivation rec {
···10 rev = version;
11 sha256 = "05inzhlqlf4ka22q78q389pr34bsb4lgp1i5qh550vjkb2cvbdfp";
12 };
13+ buildInputs = [ ncurses texlive.combined.scheme-medium texinfo perl ghostscript ];
14 dontBuild = true;
15 installPhase = ''
16 substituteInPlace src/makefile --replace "CC=c99" "cc=gcc"
···20 cd src && make && cd ..
21 make PREFIX=$out install
22 '';
23+24 meta = {
25 description = "The nice editor";
26 homepage = https://github.com/vigna/ne;
27 longDescription = ''
28+ ne is a free (GPL'd) text editor based on the POSIX standard that runs
29+ (we hope) on almost any UN*X machine. ne is easy to use for the beginner,
30+ but powerful and fully configurable for the wizard, and most sparing in its
31+ resource usage. See the manual for some highlights of ne's features.
32 '';
33 license = stdenv.lib.licenses.gpl3;
34 platforms = stdenv.lib.platforms.unix;