mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
65d7bf58f1
* ne: 3.1.2 -> 3.2.1 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ne/versions * ne: revamp
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{ stdenv, fetchFromGitHub, ncurses, texinfo, texlive, perl, ghostscript }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ne";
|
|
version = "3.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vigna";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0h6d08cnwrk96ss83i9bragwwanph6x54sm3ak1z81146dsqsiif";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace makefile --replace "./version.pl" "perl version.pl"
|
|
substituteInPlace src/makefile --replace "-lcurses" "-lncurses"
|
|
'';
|
|
|
|
nativeBuildInputs = [ texlive.combined.scheme-medium texinfo perl ghostscript ];
|
|
buildInputs = [ ncurses ];
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The nice editor";
|
|
homepage = "http://ne.di.unimi.it/";
|
|
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 = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|