shen-sbcl: init at 3.0.3

This commit is contained in:
Ben Sima 2020-05-25 21:26:39 -07:00
parent 5303493efc
commit 12ce76d7a5
2 changed files with 34 additions and 0 deletions

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 = platforms.linux;
maintainers = with maintainers; [ bsima ];
license = licenses.bsd3;
};
}

View File

@ -6587,6 +6587,8 @@ 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 { };