2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "scheme48";
|
|
|
|
version = "1.9.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-09 03:18:52 +00:00
|
|
|
url = "http://s48.org/${version}/scheme48-${version}.tgz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1x4xfm3lyz2piqcw1h01vbs1iq89zq7wrsfjgh3fxnlm1slj2jcw";
|
|
|
|
};
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
# Make more reproducible by removing build user and date.
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace build/build-usual-image --replace '"(made by $USER on $date)"' '""'
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://s48.org/";
|
|
|
|
description = "Scheme 48 interpreter for R5RS";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.siraben ];
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|