Merge pull request #88915 from bsima/shen

shen-sbcl: init at 3.0.3
This commit is contained in:
Mario Rodas 2020-09-07 21:34:07 -05:00 committed by GitHub
commit ee222ce046
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 70 additions and 0 deletions

View file

@ -1200,6 +1200,12 @@
githubId = 5525646;
name = "Brice Waegeneire";
};
bsima = {
email = "ben@bsima.me";
github = "bsima";
githubId = 200617;
name = "Ben Sima";
};
bstrik = {
email = "dutchman55@gmx.com";
github = "bstrik";

View file

@ -0,0 +1,32 @@
{ stdenv
, fetchurl
, shen-sources
, sbcl
}:
stdenv.mkDerivation rec {
name = "shen-sbcl-${version}";
version = "3.0.3";
src = fetchurl {
url = "https://github.com/Shen-Language/shen-cl/releases/download/v${version}/shen-cl-v${version}-sources.tar.gz";
sha256 = "0mc10jlrxqi337m6ngwbr547zi4qgk69g1flz5dsddjy5x41j0yz";
};
buildInputs = [
sbcl shen-sources
];
buildPhase = ''
ln -s ${shen-sources} kernel
make sbcl
'';
installPhase = ''
mkdir -p $out
install -m755 -D bin/sbcl/shen $out/bin/shen-sbcl
'';
meta = with stdenv.lib; {
homepage = https://shenlanguage.org;
description = "Port of Shen running on Steel Bank Common Lisp";
platforms = sbcl.meta.platforms;
maintainers = with maintainers; [ bsima ];
license = licenses.bsd3;
};
}

View file

@ -0,0 +1,28 @@
{ stdenv
, fetchurl
}:
stdenv.mkDerivation rec {
name = "shen-sources-${version}";
version = "22.3";
src = fetchurl {
url = "https://github.com/Shen-Language/shen-sources/releases/download/shen-${version}/ShenOSKernel-${version}.tar.gz";
sha256 = "16jaliga3bia0f8c8ja1y22wanbnbriv31qfqdc87a4p4dx9c77q";
};
buildInputs = [];
buildPhase = "";
installPhase = ''
mkdir -p $out
cp . $out -R
'';
meta = with stdenv.lib; {
homepage = https://shenlanguage.org;
description = "Source code for the Shen Language";
platforms = platforms.all;
maintainers = with maintainers; [ bsima ];
license = licenses.bsd3;
};
}

View file

@ -6891,6 +6891,10 @@ in
schema2ldif = callPackage ../tools/text/schema2ldif { };
shen-sbcl = callPackage ../development/interpreters/shen-sbcl { };
shen-sources = callPackage ../development/interpreters/shen-sources { };
shocco = callPackage ../tools/text/shocco { };
shopify-themekit = callPackage ../development/web/shopify-themekit { };