2022-03-15 11:25:39 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, chez, chez-srfi }:
|
2019-10-06 23:47:17 +02:00
|
|
|
|
2022-03-15 11:25:39 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-10-06 23:47:17 +02:00
|
|
|
pname = "chez-mit";
|
2022-03-15 11:25:39 +01:00
|
|
|
version = "0.1";
|
2019-10-06 23:47:17 +02:00
|
|
|
|
2022-03-15 11:25:39 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fedeinthemix";
|
|
|
|
repo = "chez-mit";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-YM4/Sj8otuWJCrUBsglVnihxRGI32F6tSbODFM0a8TA=";
|
2019-10-06 23:47:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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 19:11:59 +01:00
|
|
|
meta = with lib; {
|
2019-10-06 23:47:17 +02:00
|
|
|
description = "This is a MIT/GNU Scheme compatibility library for Chez Scheme";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/fedeinthemix/chez-mit/";
|
2021-01-17 19:11:59 +01:00
|
|
|
maintainers = [ maintainers.jitwit ];
|
|
|
|
license = licenses.free;
|
2019-10-06 23:47:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|