2022-03-30 09:31:56 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, chez, chez-srfi }:
|
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-mit";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fedeinthemix";
|
|
|
|
repo = "chez-mit";
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
sha256 = "sha256-TmoLA0zLETKE+PsrGS5dce9xLQUIKwSNixRSVjbrOlk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ chez chez-srfi ];
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
makeFlags = [
|
|
|
|
"CHEZ=${lib.getExe chez}"
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"CHEZSCHEMELIBDIRS=${chez-srfi}/lib/csv${lib.versions.majorMinor chez.version}-site"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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 MIT/GNU Scheme compatibility library for Chez Scheme";
|
|
|
|
homepage = "https://github.com/fedeinthemix/chez-mit/";
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = [ maintainers.jitwit ];
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|