2021-02-25 11:51:47 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, ncurses
|
|
|
|
, gpm
|
|
|
|
}:
|
2017-09-10 17:41:49 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "jupp";
|
2021-02-25 11:51:47 +00:00
|
|
|
version = "40";
|
2020-04-07 02:41:27 +01:00
|
|
|
srcName = "joe-3.1${pname}${version}";
|
2017-09-10 17:41:49 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
|
|
|
"https://www.mirbsd.org/MirOS/dist/jupp/${srcName}.tgz"
|
2021-02-25 11:51:47 +00:00
|
|
|
"https://pub.allbsd.org/MirOS/dist/jupp/${srcName}.tgz"
|
|
|
|
];
|
|
|
|
sha256 = "S+1DnN5/K+KU6W5J7z6RPqkPvl6RTbiIQD46J+gDWxo=";
|
2017-09-10 17:41:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = "chmod +x ./configure";
|
|
|
|
|
2021-02-25 11:51:47 +00:00
|
|
|
buildInputs = [
|
|
|
|
gpm
|
|
|
|
ncurses
|
|
|
|
];
|
2017-09-10 17:41:49 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-curses"
|
|
|
|
"--enable-getpwnam"
|
|
|
|
"--enable-largefile"
|
2021-02-25 11:51:47 +00:00
|
|
|
"--enable-termcap"
|
|
|
|
"--enable-termidx"
|
2017-09-10 17:41:49 +01:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-02-25 11:51:47 +00:00
|
|
|
homepage = "http://www.mirbsd.org/jupp.htm";
|
|
|
|
downloadPage = "https://www.mirbsd.org/MirOS/dist/jupp/";
|
2017-09-10 17:41:49 +01:00
|
|
|
description = "A portable fork of Joe's editor";
|
|
|
|
longDescription = ''
|
|
|
|
This is the portable version of JOE's Own Editor, which is currently
|
|
|
|
developed at sourceforge, licenced under the GNU General Public License,
|
|
|
|
Version 1, using autoconf/automake. This version has been enhanced by
|
|
|
|
several functions intended for programmers or other professional users,
|
|
|
|
and has a lot of bugs fixed. It is based upon an older version of joe
|
|
|
|
because these behave better overall.
|
|
|
|
'';
|
2021-02-25 11:51:47 +00:00
|
|
|
license = licenses.gpl1Only;
|
2017-09-10 17:41:49 +01:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2021-02-25 11:51:47 +00:00
|
|
|
platforms = with platforms; unix;
|
2017-09-10 17:41:49 +01:00
|
|
|
};
|
|
|
|
}
|