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
4
, groff
5
5
, makeWrapper
6
6
, ncurses
7
7
+
, runtimeShell
7
8
}:
8
9
9
10
stdenv.mkDerivation (finalAttrs: {
10
11
pname = "jove";
11
11
-
version = "4.17.4.9";
12
12
+
version = "4.17.5.3";
12
13
13
14
src = fetchFromGitHub {
14
15
owner = "jonmacs";
15
16
repo = "jove";
16
17
rev = finalAttrs.version;
17
17
-
sha256 = "sha256-Lo5S3t4vewkpoihVdxa3yRrEzNWeNLHCZHXiLCxOH5o=";
18
18
+
hash = "sha256-ZBq2zCml637p9VgedpOrUn2jSc5L0pthdgRS7YsB3zs=";
18
19
};
19
20
20
21
nativeBuildInputs = [ makeWrapper ];
···
24
25
ncurses
25
26
];
26
27
28
28
+
postPatch = ''
29
29
+
patchShebangs testbuild.sh testmailer.sh teachjove jmake.sh
30
30
+
'';
31
31
+
27
32
dontConfigure = true;
28
33
29
34
preBuild = ''
30
35
makeFlagsArray+=(SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" \
31
31
-
TERMCAPLIB=-lncurses JOVEHOME=${placeholder "out"})
36
36
+
JTMPDIR=$TMPDIR
37
37
+
TERMCAPLIB=-lncurses \
38
38
+
SHELL=${runtimeShell} \
39
39
+
DFLTSHELL=${runtimeShell} \
40
40
+
JOVEHOME=${placeholder "out"})
32
41
'';
33
42
34
43
postInstall = ''
···
36
45
--prefix PATH ":" "$out/bin"
37
46
'';
38
47
39
39
-
meta = with lib; {
48
48
+
meta = {
40
49
homepage = "https://github.com/jonmacs/jove";
41
50
description = "Jonathan's Own Version of Emacs";
42
51
changelog = "https://github.com/jonmacs/jove/releases/tag/${finalAttrs.version}";
43
43
-
license = licenses.bsd2;
44
44
-
maintainers = with maintainers; [ AndersonTorres ];
45
45
-
platforms = platforms.unix;
52
52
+
license = lib.licenses.bsd2;
53
53
+
maintainers = with lib.maintainers; [ AndersonTorres ];
54
54
+
platforms = lib.platforms.unix;
46
55
# never built on Hydra: https://hydra.nixos.org/job/nixpkgs/trunk/jove.x86_64-darwin
47
56
broken = stdenv.isDarwin;
48
57
};