tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
moe: 1.12 -> 1.13
Anderson Torres
2 years ago
e4e91c61
6477d7f0
+20
-14
1 changed file
expand all
collapse all
unified
split
pkgs
applications
editors
moe
default.nix
+20
-14
pkgs/applications/editors/moe/default.nix
···
1
-
{ lib, stdenv
0
2
, fetchurl
3
-
, ncurses
4
, lzip
0
5
}:
6
7
-
stdenv.mkDerivation rec {
8
pname = "moe";
9
-
version = "1.12";
10
11
src = fetchurl {
12
-
url = "mirror://gnu/moe/${pname}-${version}.tar.lz";
13
-
sha256 = "sha256-iohfK+Qm+OBK05yWASvYYJVAhaI3RPJFFmMWiCbXoeg=";
14
};
15
16
prePatch = ''
···
19
"insert( 0U, 1U,"
20
'';
21
22
-
nativeBuildInputs = [ lzip ];
23
-
buildInputs = [ ncurses ];
0
24
25
-
meta = with lib; {
0
0
0
0
0
26
description = "A small, 8-bit clean editor";
27
longDescription = ''
28
GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
···
33
completion, directory browser, duplicate removal from prompt histories,
34
delimiter matching, text conversion from/to UTF-8, romanization, etc.
35
'';
36
-
homepage = "https://www.gnu.org/software/moe/";
37
-
license = licenses.gpl2Plus;
38
-
maintainers = with maintainers; [ AndersonTorres ];
39
-
platforms = platforms.unix;
40
};
41
-
}
42
# TODO: a configurable, global moerc file
···
1
+
{ lib
2
+
, stdenv
3
, fetchurl
0
4
, lzip
5
+
, ncurses
6
}:
7
8
+
stdenv.mkDerivation (self: {
9
pname = "moe";
10
+
version = "1.13";
11
12
src = fetchurl {
13
+
url = "mirror://gnu/moe/moe-${self.version}.tar.lz";
14
+
hash = "sha256-Q6VXvFEvidbHGOX0ECnP46BVaCYg642+zmMC80omFGs=";
15
};
16
17
prePatch = ''
···
20
"insert( 0U, 1U,"
21
'';
22
23
+
nativeBuildInputs = [
24
+
lzip
25
+
];
26
27
+
buildInputs = [
28
+
ncurses
29
+
];
30
+
31
+
meta = {
32
+
homepage = "https://www.gnu.org/software/moe/";
33
description = "A small, 8-bit clean editor";
34
longDescription = ''
35
GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
···
40
completion, directory browser, duplicate removal from prompt histories,
41
delimiter matching, text conversion from/to UTF-8, romanization, etc.
42
'';
43
+
license = lib.licenses.gpl2Plus;
44
+
maintainers = with lib.maintainers; [ AndersonTorres ];
45
+
platforms = lib.platforms.unix;
0
46
};
47
+
})
48
# TODO: a configurable, global moerc file