2022-03-30 09:31:56 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, chez }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "chez-srfi";
|
|
|
|
version = "1.0";
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fedeinthemix";
|
|
|
|
repo = "chez-srfi";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = "5770486c2a85d0e3dd4ac62a97918e7c394ea507";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-8icdkbYmpTpossirFoulUhJY/8Jo+2eeaMwDftbZh+g=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ chez ];
|
|
|
|
|
|
|
|
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 package provides a collection of SRFI libraries for Chez Scheme";
|
|
|
|
homepage = "https://github.com/fedeinthemix/chez-srfi/";
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = [ maintainers.jitwit ];
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.x11;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|