jove: 4.17.4.9 -> 4.17.5.3
This commit is contained in:
parent
f152e6f861
commit
66fb236fab
1 changed files with 16 additions and 7 deletions
|
@ -4,17 +4,18 @@
|
||||||
, groff
|
, groff
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, ncurses
|
, ncurses
|
||||||
|
, runtimeShell
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "jove";
|
pname = "jove";
|
||||||
version = "4.17.4.9";
|
version = "4.17.5.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jonmacs";
|
owner = "jonmacs";
|
||||||
repo = "jove";
|
repo = "jove";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
sha256 = "sha256-Lo5S3t4vewkpoihVdxa3yRrEzNWeNLHCZHXiLCxOH5o=";
|
hash = "sha256-ZBq2zCml637p9VgedpOrUn2jSc5L0pthdgRS7YsB3zs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -24,11 +25,19 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
ncurses
|
ncurses
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs testbuild.sh testmailer.sh teachjove jmake.sh
|
||||||
|
'';
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray+=(SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" \
|
makeFlagsArray+=(SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" \
|
||||||
TERMCAPLIB=-lncurses JOVEHOME=${placeholder "out"})
|
JTMPDIR=$TMPDIR
|
||||||
|
TERMCAPLIB=-lncurses \
|
||||||
|
SHELL=${runtimeShell} \
|
||||||
|
DFLTSHELL=${runtimeShell} \
|
||||||
|
JOVEHOME=${placeholder "out"})
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -36,13 +45,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
--prefix PATH ":" "$out/bin"
|
--prefix PATH ":" "$out/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://github.com/jonmacs/jove";
|
homepage = "https://github.com/jonmacs/jove";
|
||||||
description = "Jonathan's Own Version of Emacs";
|
description = "Jonathan's Own Version of Emacs";
|
||||||
changelog = "https://github.com/jonmacs/jove/releases/tag/${finalAttrs.version}";
|
changelog = "https://github.com/jonmacs/jove/releases/tag/${finalAttrs.version}";
|
||||||
license = licenses.bsd2;
|
license = lib.licenses.bsd2;
|
||||||
maintainers = with maintainers; [ AndersonTorres ];
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
# never built on Hydra: https://hydra.nixos.org/job/nixpkgs/trunk/jove.x86_64-darwin
|
# never built on Hydra: https://hydra.nixos.org/job/nixpkgs/trunk/jove.x86_64-darwin
|
||||||
broken = stdenv.isDarwin;
|
broken = stdenv.isDarwin;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue