mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
gambit: 4.6.1 -> 4.7.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
d2c0011c2f
commit
551ead935c
@ -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";
|
||||||
meta = {
|
|
||||||
description = "Scheme to C compiler";
|
|
||||||
maintainers = [
|
|
||||||
a.lib.maintainers.raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux ++ freebsd;
|
|
||||||
};
|
};
|
||||||
}) x
|
|
||||||
|
configureFlags = [ "--enable-shared" "--enable-single-host" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Optimizing Scheme to C compiler";
|
||||||
|
homepage = "http://gambitscheme.org";
|
||||||
|
license = stdenv.lib.licenses.lgpl2;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ thoughtpolice raskin ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
@ -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";
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -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)'';
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user