2021-02-05 17:12:51 +00:00
|
|
|
|
{ stdenv, lib, fetchgit, chez, chez-srfi, chez-mit }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
pname = "chez-scmutils";
|
|
|
|
|
version = "1.0";
|
|
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
|
url = "https://github.com/fedeinthemix/chez-scmutils.git";
|
|
|
|
|
rev = "5eaeea6289fd239358d7eed99cc9588528fb52b2";
|
|
|
|
|
sha256 = "0lb05wlf8qpgg8y0gdsyaxg1nbfx1qbaqdjvygrp64ndn8fnhq7l";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs = [ chez chez-srfi chez-mit ];
|
|
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
|
make PREFIX=$out CHEZ=${chez}/bin/scheme
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
make install PREFIX=$out CHEZ=${chez}/bin/scheme
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
description = "This is a port of the ‘MIT Scmutils’ library to Chez Scheme";
|
|
|
|
|
homepage = "https://github.com/fedeinthemix/chez-scmutils/";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
maintainers = [ maintainers.jitwit ];
|
|
|
|
|
license = licenses.gpl3;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|