about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/jupp/default.nix
blob: 79db7b8a558a7fd1ba7bece27392d71a895b2228 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ stdenv, fetchurl, ncurses, gpm }:

stdenv.mkDerivation rec {

  pname = "jupp";
  version = "39";
  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 = "14gys92dy3kq9ikigry7q2x4w5v2z76d97vp212bddrxiqy5np8d";
  };

  preConfigure = "chmod +x ./configure";

  buildInputs = [ ncurses gpm ];

  configureFlags = [
    "--enable-curses"
    "--enable-termcap"
    "--enable-termidx"
    "--enable-getpwnam"
    "--enable-largefile"
  ];

  meta = with stdenv.lib; {
    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.
    '';
    homepage = "http://www.mirbsd.org/jupp.htm";
    license = licenses.gpl1;
    maintainers = with maintainers; [ AndersonTorres ];
  };
}