2021-01-17 18:11:59 +00:00
|
|
|
{ stdenv, lib, fetchgit, chez, chez-srfi }:
|
2019-10-06 21:47:17 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "chez-mit";
|
|
|
|
version = "1.0";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/fedeinthemix/chez-mit.git";
|
|
|
|
rev = "68f3d7562e77f694847dc74dabb5ecbd106cd6be";
|
|
|
|
sha256 = "0c7i3b6i90xk96nmxn1pc9272a4yal4v40dm1a4ybdi87x53zkk0";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ chez chez-srfi ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
make PREFIX=$out CHEZ=${chez}/bin/scheme
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install PREFIX=$out CHEZ=${chez}/bin/scheme
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-17 18:11:59 +00:00
|
|
|
meta = with lib; {
|
2019-10-06 21:47:17 +00:00
|
|
|
description = "This is a MIT/GNU Scheme compatibility library for Chez Scheme";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/fedeinthemix/chez-mit/";
|
2021-01-17 18:11:59 +00:00
|
|
|
maintainers = [ maintainers.jitwit ];
|
|
|
|
license = licenses.free;
|
2019-10-06 21:47:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|