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
1
-
{ lib, stdenv
1
1
+
{ lib
2
2
+
, stdenv
2
3
, fetchurl
3
3
-
, ncurses
4
4
, lzip
5
5
+
, ncurses
5
6
}:
6
7
7
7
-
stdenv.mkDerivation rec {
8
8
+
stdenv.mkDerivation (self: {
8
9
pname = "moe";
9
9
-
version = "1.12";
10
10
+
version = "1.13";
10
11
11
12
src = fetchurl {
12
12
-
url = "mirror://gnu/moe/${pname}-${version}.tar.lz";
13
13
-
sha256 = "sha256-iohfK+Qm+OBK05yWASvYYJVAhaI3RPJFFmMWiCbXoeg=";
13
13
+
url = "mirror://gnu/moe/moe-${self.version}.tar.lz";
14
14
+
hash = "sha256-Q6VXvFEvidbHGOX0ECnP46BVaCYg642+zmMC80omFGs=";
14
15
};
15
16
16
17
prePatch = ''
···
19
20
"insert( 0U, 1U,"
20
21
'';
21
22
22
22
-
nativeBuildInputs = [ lzip ];
23
23
-
buildInputs = [ ncurses ];
23
23
+
nativeBuildInputs = [
24
24
+
lzip
25
25
+
];
24
26
25
25
-
meta = with lib; {
27
27
+
buildInputs = [
28
28
+
ncurses
29
29
+
];
30
30
+
31
31
+
meta = {
32
32
+
homepage = "https://www.gnu.org/software/moe/";
26
33
description = "A small, 8-bit clean editor";
27
34
longDescription = ''
28
35
GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
···
33
40
completion, directory browser, duplicate removal from prompt histories,
34
41
delimiter matching, text conversion from/to UTF-8, romanization, etc.
35
42
'';
36
36
-
homepage = "https://www.gnu.org/software/moe/";
37
37
-
license = licenses.gpl2Plus;
38
38
-
maintainers = with maintainers; [ AndersonTorres ];
39
39
-
platforms = platforms.unix;
43
43
+
license = lib.licenses.gpl2Plus;
44
44
+
maintainers = with lib.maintainers; [ AndersonTorres ];
45
45
+
platforms = lib.platforms.unix;
40
46
};
41
41
-
}
47
47
+
})
42
48
# TODO: a configurable, global moerc file