gambit: 4.6.1 -> 4.7.3

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-10-24 23:04:42 -05:00
parent d2c0011c2f
commit 551ead935c
3 changed files with 19 additions and 41 deletions

View File

@ -1,28 +1,22 @@
x@{stdenv, fetchurl, builderDefsPackage, ...}: { stdenv, fetchurl }:
builderDefsPackage
(a :
let
s = import ./src-for-default.nix;
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ [];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
in
rec {
src = a.fetchUrlFromSrcInfo s;
inherit (s) name; stdenv.mkDerivation rec {
inherit buildInputs; name = "gambit-${version}";
configureFlags = ["--enable-shared"]; version = "4.7.3";
devver = "4_7_3";
/* doConfigure should be removed if not needed */ src = fetchurl {
phaseNames = ["doConfigure" "doMakeInstall"]; url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.7/source/gambc-v${devver}-devel.tgz";
sha256 = "12jbr6bc0zmc7vw07a9pliadbvqgwkpmw6cj8awz73clv1j7pxha";
};
configureFlags = [ "--enable-shared" "--enable-single-host" ];
meta = { meta = {
description = "Scheme to C compiler"; description = "Optimizing Scheme to C compiler";
maintainers = [ homepage = "http://gambitscheme.org";
a.lib.maintainers.raskin license = stdenv.lib.licenses.lgpl2;
]; platforms = stdenv.lib.platforms.linux;
platforms = with a.lib.platforms; maintainers = with stdenv.lib.maintainers; [ thoughtpolice raskin ];
linux ++ freebsd;
}; };
}) x }

View File

@ -1,9 +0,0 @@
rec {
version="v4_6_1";
name="gambit-v4_6_1";
hash="0ad6c63dg5ggaamixxinvlf3128mra8xzss5chh66lkii4dc3m7g";
url="http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-${version}-devel.tgz";
advertisedUrl="http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_1-devel.tgz";
}

View File

@ -1,7 +0,0 @@
{
downloadPage = "http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page";
baseName = "gambit";
sourceRegexp = "[.]tgz";
versionExtractorSedScript = ''s/.*-(v[_0-9]+)-devel[.].*/\1/'';
versionReferenceCreator = ''$(replaceAllVersionOccurences)'';
}