mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
shen-sbcl: 3.0.3 -> 39.1 (#380807)
This commit is contained in:
commit
edb70a9757
3 changed files with 31 additions and 55 deletions
|
@ -9176,6 +9176,12 @@
|
||||||
githubId = 1498782;
|
githubId = 1498782;
|
||||||
name = "Jesse Haber-Kucharsky";
|
name = "Jesse Haber-Kucharsky";
|
||||||
};
|
};
|
||||||
|
hakujin = {
|
||||||
|
email = "colin@hakuj.in";
|
||||||
|
github = "hakujin";
|
||||||
|
githubId = 2192042;
|
||||||
|
name = "Colin King";
|
||||||
|
};
|
||||||
hamburger1984 = {
|
hamburger1984 = {
|
||||||
email = "hamburger1984@gmail.com";
|
email = "hamburger1984@gmail.com";
|
||||||
github = "hamburger1984";
|
github = "hamburger1984";
|
||||||
|
|
|
@ -1,43 +1,44 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenvNoCC,
|
||||||
fetchurl,
|
fetchzip,
|
||||||
shen-sources,
|
|
||||||
sbcl,
|
sbcl,
|
||||||
}:
|
}:
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "shen-sbcl";
|
pname = "shen-sbcl";
|
||||||
version = "3.0.3";
|
version = "39.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchzip {
|
||||||
url = "https://github.com/Shen-Language/shen-cl/releases/download/v${version}/shen-cl-v${version}-sources.tar.gz";
|
url = "https://www.shenlanguage.org/Download/S${finalAttrs.version}.zip";
|
||||||
sha256 = "0mc10jlrxqi337m6ngwbr547zi4qgk69g1flz5dsddjy5x41j0yz";
|
hash = "sha256-reN9avgYGYCMiA5BeHLhRK51liKF2ctqIgxf+4IWjVY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ sbcl ];
|
nativeBuildInputs = [ sbcl ];
|
||||||
|
dontStrip = true; # necessary to prevent runtime errors with sbcl
|
||||||
|
|
||||||
preBuild = ''
|
buildPhase = ''
|
||||||
ln -s ${shen-sources} kernel
|
runHook preBuild
|
||||||
|
|
||||||
|
sbcl --noinform --no-sysinit --no-userinit --load install.lsp
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildFlags = [ "build-sbcl" ];
|
|
||||||
|
|
||||||
checkTarget = "test-sbcl";
|
|
||||||
|
|
||||||
doCheck = true;
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -m755 -D bin/sbcl/shen $out/bin/shen-sbcl
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm755 sbcl-shen.exe $out/bin/shen-sbcl
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://shenlanguage.org";
|
homepage = "https://shenlanguage.org";
|
||||||
description = "Port of Shen running on Steel Bank Common Lisp";
|
description = "Port of Shen running on Steel Bank Common Lisp";
|
||||||
changelog = "https://github.com/Shen-Language/shen-cl/raw/v${version}/CHANGELOG.md";
|
changelog = "https://shenlanguage.org/download.html#kernel";
|
||||||
platforms = sbcl.meta.platforms;
|
platforms = sbcl.meta.platforms;
|
||||||
maintainers = with maintainers; [ bsima ];
|
maintainers = with lib.maintainers; [ hakujin ];
|
||||||
broken = true;
|
license = lib.licenses.bsd3;
|
||||||
license = licenses.bsd3;
|
mainProgram = "shen-sbcl";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
stdenv,
|
|
||||||
fetchurl,
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "shen-sources";
|
|
||||||
version = "22.4";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/Shen-Language/shen-sources/releases/download/shen-${version}/ShenOSKernel-${version}.tar.gz";
|
|
||||||
sha256 = "1wlyh4rbzr615iykq1s779jvq28812rb4dascx1kzpakhw8z0260";
|
|
||||||
};
|
|
||||||
|
|
||||||
dontBuild = true;
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
cp . $out -R
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://shenlanguage.org";
|
|
||||||
description = "Source code for the Shen Language";
|
|
||||||
changelog = "https://github.com/Shen-Language/shen-sources/raw/shen-${version}/CHANGELOG.md";
|
|
||||||
platforms = platforms.all;
|
|
||||||
maintainers = with maintainers; [ bsima ];
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue