tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
jove: 4.17.4.9 -> 4.17.5.3
Anderson Torres
2 years ago
66fb236f
f152e6f8
+16
-7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
editors
jove
default.nix
+16
-7
pkgs/applications/editors/jove/default.nix
···
4
, groff
5
, makeWrapper
6
, ncurses
0
7
}:
8
9
stdenv.mkDerivation (finalAttrs: {
10
pname = "jove";
11
-
version = "4.17.4.9";
12
13
src = fetchFromGitHub {
14
owner = "jonmacs";
15
repo = "jove";
16
rev = finalAttrs.version;
17
-
sha256 = "sha256-Lo5S3t4vewkpoihVdxa3yRrEzNWeNLHCZHXiLCxOH5o=";
18
};
19
20
nativeBuildInputs = [ makeWrapper ];
···
24
ncurses
25
];
26
0
0
0
0
27
dontConfigure = true;
28
29
preBuild = ''
30
makeFlagsArray+=(SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" \
31
-
TERMCAPLIB=-lncurses JOVEHOME=${placeholder "out"})
0
0
0
0
32
'';
33
34
postInstall = ''
···
36
--prefix PATH ":" "$out/bin"
37
'';
38
39
-
meta = with lib; {
40
homepage = "https://github.com/jonmacs/jove";
41
description = "Jonathan's Own Version of Emacs";
42
changelog = "https://github.com/jonmacs/jove/releases/tag/${finalAttrs.version}";
43
-
license = licenses.bsd2;
44
-
maintainers = with maintainers; [ AndersonTorres ];
45
-
platforms = platforms.unix;
46
# never built on Hydra: https://hydra.nixos.org/job/nixpkgs/trunk/jove.x86_64-darwin
47
broken = stdenv.isDarwin;
48
};
···
4
, groff
5
, makeWrapper
6
, ncurses
7
+
, runtimeShell
8
}:
9
10
stdenv.mkDerivation (finalAttrs: {
11
pname = "jove";
12
+
version = "4.17.5.3";
13
14
src = fetchFromGitHub {
15
owner = "jonmacs";
16
repo = "jove";
17
rev = finalAttrs.version;
18
+
hash = "sha256-ZBq2zCml637p9VgedpOrUn2jSc5L0pthdgRS7YsB3zs=";
19
};
20
21
nativeBuildInputs = [ makeWrapper ];
···
25
ncurses
26
];
27
28
+
postPatch = ''
29
+
patchShebangs testbuild.sh testmailer.sh teachjove jmake.sh
30
+
'';
31
+
32
dontConfigure = true;
33
34
preBuild = ''
35
makeFlagsArray+=(SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" \
36
+
JTMPDIR=$TMPDIR
37
+
TERMCAPLIB=-lncurses \
38
+
SHELL=${runtimeShell} \
39
+
DFLTSHELL=${runtimeShell} \
40
+
JOVEHOME=${placeholder "out"})
41
'';
42
43
postInstall = ''
···
45
--prefix PATH ":" "$out/bin"
46
'';
47
48
+
meta = {
49
homepage = "https://github.com/jonmacs/jove";
50
description = "Jonathan's Own Version of Emacs";
51
changelog = "https://github.com/jonmacs/jove/releases/tag/${finalAttrs.version}";
52
+
license = lib.licenses.bsd2;
53
+
maintainers = with lib.maintainers; [ AndersonTorres ];
54
+
platforms = lib.platforms.unix;
55
# never built on Hydra: https://hydra.nixos.org/job/nixpkgs/trunk/jove.x86_64-darwin
56
broken = stdenv.isDarwin;
57
};