3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #9465 from fazo96/ne

ne: init at 3.0.1
This commit is contained in:
Arseniy Seroka 2015-08-28 17:43:12 +03:00
commit 5ea112f4c3
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, ncurses, texinfo, tetex, perl, ghostscript }:
stdenv.mkDerivation rec {
name = "ne-${version}";
version = "3.0.1";
src = fetchFromGitHub {
owner = "vigna";
repo = "ne";
rev = version;
sha256 = "05inzhlqlf4ka22q78q389pr34bsb4lgp1i5qh550vjkb2cvbdfp";
};
buildInputs = [ ncurses tetex texinfo perl ghostscript ];
dontBuild = true;
installPhase = ''
substituteInPlace src/makefile --replace "CC=c99" "cc=gcc"
substituteInPlace src/makefile --replace "-lcurses" "-lncurses"
substituteInPlace makefile --replace "./version.pl" "perl version.pl"
cd doc && make && cd ..
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.
'';
license = stdenv.lib.licenses.gpl3;
};
}

View file

@ -12338,6 +12338,8 @@ let
ncdc = callPackage ../applications/networking/p2p/ncdc { }; ncdc = callPackage ../applications/networking/p2p/ncdc { };
ne = callPackage ../applications/editors/ne { };
nedit = callPackage ../applications/editors/nedit { nedit = callPackage ../applications/editors/nedit {
motif = lesstif; motif = lesstif;
}; };