scheme48: refactor and add siraben as maintainer

This commit is contained in:
Ben Siraphob 2021-02-24 15:22:15 +07:00
parent aed173ff97
commit 4ace7d4167

View File

@ -1,17 +1,24 @@
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation {
name = "scheme48-1.9.2";
meta = {
homepage = "http://s48.org/";
description = "Scheme 48";
platforms = with lib.platforms; unix;
license = lib.licenses.bsd3;
};
stdenv.mkDerivation rec {
pname = "scheme48";
version = "1.9.2";
src = fetchurl {
url = "http://s48.org/1.9.2/scheme48-1.9.2.tgz";
url = "http://s48.org/${version}/scheme48-${version}.tgz";
sha256 = "1x4xfm3lyz2piqcw1h01vbs1iq89zq7wrsfjgh3fxnlm1slj2jcw";
};
# 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 ];
};
}