diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/jupp/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/jupp/default.nix | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/jupp/default.nix b/nixpkgs/pkgs/applications/editors/jupp/default.nix new file mode 100644 index 000000000000..c31c1fe10c05 --- /dev/null +++ b/nixpkgs/pkgs/applications/editors/jupp/default.nix @@ -0,0 +1,52 @@ +{ lib +, stdenv +, fetchurl +, ncurses +, gpm +}: + +stdenv.mkDerivation rec { + pname = "jupp"; + version = "40"; + srcName = "joe-3.1${pname}${version}"; + + src = fetchurl { + urls = [ + "https://www.mirbsd.org/MirOS/dist/jupp/${srcName}.tgz" + "https://pub.allbsd.org/MirOS/dist/jupp/${srcName}.tgz" + ]; + sha256 = "S+1DnN5/K+KU6W5J7z6RPqkPvl6RTbiIQD46J+gDWxo="; + }; + + preConfigure = "chmod +x ./configure"; + + buildInputs = [ + gpm + ncurses + ]; + + configureFlags = [ + "--enable-curses" + "--enable-getpwnam" + "--enable-largefile" + "--enable-termcap" + "--enable-termidx" + ]; + + meta = with lib; { + 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. + ''; + license = licenses.gpl1Only; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = with platforms; unix; + }; +} |