2022-03-15 10:25:14 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, chez }:
|
2019-10-06 21:47:17 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "chez-srfi";
|
|
|
|
version = "1.0";
|
|
|
|
|
2022-03-15 10:25:14 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fedeinthemix";
|
|
|
|
repo = "chez-srfi";
|
2019-10-06 21:47:17 +00:00
|
|
|
rev = "5770486c2a85d0e3dd4ac62a97918e7c394ea507";
|
2022-03-15 10:25:14 +00:00
|
|
|
sha256 = "sha256-8icdkbYmpTpossirFoulUhJY/8Jo+2eeaMwDftbZh+g=";
|
2019-10-06 21:47:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ chez ];
|
|
|
|
|
|
|
|
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 package provides a collection of SRFI libraries for Chez Scheme";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/fedeinthemix/chez-srfi/";
|
2021-01-17 18:11:59 +00:00
|
|
|
maintainers = [ maintainers.jitwit ];
|
|
|
|
license = licenses.free;
|
2019-10-06 21:47:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|