1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

ne: migrate from (broken) tetex to texlive

related: #21770.  vcunat re-indented the longDescription.
This commit is contained in:
Langston Barrett 2017-01-29 21:35:49 +00:00 committed by Vladimír Čunát
parent 45b1d0cb8c
commit a749b73ff8
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

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