Merge pull request #114214 from siraben/scheme48-refactor

scheme48: refactor and add siraben as maintainer

authored by

Mario Rodas and committed by
GitHub
9d077b57 dc75a0c2

+17 -10
+17 -10
pkgs/development/interpreters/scheme48/default.nix
··· 1 1 { lib, stdenv, fetchurl }: 2 2 3 - stdenv.mkDerivation { 4 - name = "scheme48-1.9.2"; 3 + stdenv.mkDerivation rec { 4 + pname = "scheme48"; 5 + version = "1.9.2"; 5 6 6 - meta = { 7 - homepage = "http://s48.org/"; 8 - description = "Scheme 48"; 9 - platforms = with lib.platforms; unix; 10 - license = lib.licenses.bsd3; 7 + src = fetchurl { 8 + url = "http://s48.org/${version}/scheme48-${version}.tgz"; 9 + sha256 = "1x4xfm3lyz2piqcw1h01vbs1iq89zq7wrsfjgh3fxnlm1slj2jcw"; 11 10 }; 12 11 13 - src = fetchurl { 14 - url = "http://s48.org/1.9.2/scheme48-1.9.2.tgz"; 15 - sha256 = "1x4xfm3lyz2piqcw1h01vbs1iq89zq7wrsfjgh3fxnlm1slj2jcw"; 12 + # Make more reproducible by removing build user and date. 13 + postPatch = '' 14 + substituteInPlace build/build-usual-image --replace '"(made by $USER on $date)"' '""' 15 + ''; 16 + 17 + meta = with lib; { 18 + homepage = "http://s48.org/"; 19 + description = "Scheme 48 interpreter for R5RS"; 20 + platforms = platforms.unix; 21 + license = licenses.bsd3; 22 + maintainers = [ maintainers.siraben ]; 16 23 }; 17 24 }