7 stdenv.mkDerivation rec {
12 url = "https://s48.org/${version}/scheme48-${version}.tgz";
13 sha256 = "1x4xfm3lyz2piqcw1h01vbs1iq89zq7wrsfjgh3fxnlm1slj2jcw";
16 # Make more reproducible by removing build user and date.
18 substituteInPlace build/build-usual-image --replace '"(made by $USER on $date)"' '""'
21 # Silence warnings related to use of implicitly declared library functions and implicit ints.
22 # TODO: Remove and/or fix with patches the next time this package is updated.
23 env = lib.optionalAttrs stdenv.cc.isClang {
24 NIX_CFLAGS_COMPILE = toString [
25 "-Wno-error=implicit-function-declaration"
26 "-Wno-error=implicit-int"
31 homepage = "https://s48.org/";
32 description = "Scheme 48 interpreter for R5RS";
33 platforms = platforms.unix;
34 license = licenses.bsd3;
35 maintainers = [ maintainers.siraben ];