2022-03-30 09:31:56 +00:00
|
|
|
|
{ stdenv, lib, fetchFromGitHub, chez, chez-srfi, chez-mit }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
pname = "chez-scmutils";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
version = "0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "fedeinthemix";
|
|
|
|
|
repo = "chez-scmutils";
|
|
|
|
|
rev = "v${version}";
|
|
|
|
|
sha256 = "sha256-9GBoHbLNEnPz81s2rBYO3S0bXldetwc8eu9i5CgvYFE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|