nixpkgs/pkgs/applications/editors/jupp/default.nix

53 lines
1.4 KiB
Nix
Raw Normal View History

2021-02-25 11:51:47 +00:00
{ lib
, stdenv
, fetchurl
, ncurses
, gpm
}:
stdenv.mkDerivation rec {
pname = "jupp";
2021-02-25 11:51:47 +00:00
version = "40";
2020-04-07 01:41:27 +00:00
srcName = "joe-3.1${pname}${version}";
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=";
};
preConfigure = "chmod +x ./configure";
2021-02-25 11:51:47 +00:00
buildInputs = [
gpm
ncurses
];
configureFlags = [
"--enable-curses"
"--enable-getpwnam"
"--enable-largefile"
2021-02-25 11:51:47 +00:00
"--enable-termcap"
"--enable-termidx"
];
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/";
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;
maintainers = with maintainers; [ AndersonTorres ];
2021-02-25 11:51:47 +00:00
platforms = with platforms; unix;
};
}