gnu-smalltalk: modernize
This commit is contained in:
parent
64a58c751c
commit
866fdf1d9b
@ -33,14 +33,13 @@ let
|
|||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
version = "3.2.5";
|
|
||||||
pname = "gnu-smalltalk";
|
pname = "gnu-smalltalk";
|
||||||
|
version = "3.2.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/smalltalk/smalltalk-${version}.tar.xz";
|
url = "mirror://gnu/smalltalk/smalltalk-${finalAttrs.version}.tar.xz";
|
||||||
sha256 = "1k2ssrapfzhngc7bg1zrnd9n2vyxp9c9m70byvsma6wapbvib6l1";
|
hash = "sha256-gZoV97qKG1X19gucmli63W9hU7P5h7cOexZ+d1XWWsw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -50,6 +49,8 @@ stdenv.mkDerivation rec {
|
|||||||
./0001-fix-compilation.patch
|
./0001-fix-compilation.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# The dependencies and their justification are explained at
|
# The dependencies and their justification are explained at
|
||||||
# http://smalltalk.gnu.org/download
|
# http://smalltalk.gnu.org/download
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
@ -72,13 +73,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
installFlags = lib.optional emacsSupport "lispdir=$(out)/share/emacs/site-lisp";
|
installFlags = lib.optional emacsSupport "lispdir=${placeholder "$out"}/share/emacs/site-lisp";
|
||||||
|
|
||||||
# For some reason the tests fail if executated with nix-build, but pass if
|
# For some reason the tests fail if executated with nix-build, but pass if
|
||||||
# executed within nix-shell --pure.
|
# executed within nix-shell --pure.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Free implementation of the Smalltalk-80 language";
|
description = "Free implementation of the Smalltalk-80 language";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
GNU Smalltalk is a free implementation of the Smalltalk-80 language. It
|
GNU Smalltalk is a free implementation of the Smalltalk-80 language. It
|
||||||
@ -87,11 +88,11 @@ stdenv.mkDerivation rec {
|
|||||||
language, well-versed to scripting tasks.
|
language, well-versed to scripting tasks.
|
||||||
'';
|
'';
|
||||||
homepage = "http://smalltalk.gnu.org/";
|
homepage = "http://smalltalk.gnu.org/";
|
||||||
license = with licenses; [
|
license = with lib.licenses; [
|
||||||
gpl2
|
gpl2
|
||||||
lgpl2
|
lgpl2
|
||||||
];
|
];
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with lib.maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user