@@ -0,0 +1,36 @@
1+{ stdenv, fetchurl
2+, lzip, ncurses
3+}:
4+
5+with stdenv.lib;
6+stdenv.mkDerivation rec {
7+
8+ name = "moe-${version}";
9+ version = "1.9";
10+
11+ src = fetchurl {
12+ url = "mirror://gnu/moe/${name}.tar.lz";
13+ sha256 = "1wsfzy0iia0c89wnx1ilzw54wqcmlp2nz8mkpvc393z0zagrx48q";
14+ };
15+
16+ nativeBuildInputs = [ lzip ];
17+ buildInputs = [ ncurses ];
18+
19+ meta = {
20+ description = "A small, 8-bit clean editor";
21+ longDescription = ''
22+ GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
23+ ASCII character encodings. It has a modeless, user-friendly interface,
24+ online help, multiple windows, unlimited undo/redo capability, unlimited
25+ line length, unlimited buffers, global search/replace (on all buffers at
26+ once), block operations, automatic indentation, word wrapping, file name
27+ completion, directory browser, duplicate removal from prompt histories,
28+ delimiter matching, text conversion from/to UTF-8, romanization, etc.
29+ '';
30+ homepage = http://www.gnu.org/software/moe/;
31+ license = licenses.gpl2Plus;
32+ maintainers = with maintainers; [ AndersonTorres ];
33+ platforms = platforms.linux;
34+ };
35+}
36+# TODO: a configurable, global moerc file