2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2009-03-03 14:27:40 +01:00
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
stdenv.mkDerivation {
|
2014-08-31 20:47:28 +02:00
|
|
|
name = "fpc-2.6.0-binary";
|
2007-08-11 22:55:40 +02:00
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
src =
|
|
|
|
if stdenv.system == "i686-linux" then
|
|
|
|
fetchurl {
|
2016-08-20 15:35:07 +02:00
|
|
|
url = "mirror://sourceforge/project/freepascal/Linux/2.6.0/fpc-2.6.0.i386-linux.tar";
|
2014-08-31 20:47:28 +02:00
|
|
|
sha256 = "08yklvrfxvk59bxsd4rh1i6s3cjn0q06dzjs94h9fbq3n1qd5zdf";
|
2010-07-28 13:55:54 +02:00
|
|
|
}
|
|
|
|
else if stdenv.system == "x86_64-linux" then
|
|
|
|
fetchurl {
|
2016-08-20 15:35:07 +02:00
|
|
|
url = "mirror://sourceforge/project/freepascal/Linux/2.6.0/fpc-2.6.0.x86_64-linux.tar";
|
2014-08-31 20:47:28 +02:00
|
|
|
sha256 = "0k9vi75k39y735fng4jc2vppdywp82j4qhzn7x4r6qjkad64d8lx";
|
2010-07-28 13:55:54 +02:00
|
|
|
}
|
|
|
|
else throw "Not supported on ${stdenv.system}.";
|
2007-08-11 22:55:40 +02:00
|
|
|
|
|
|
|
builder = ./binary-builder.sh;
|
|
|
|
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "Free Pascal Compiler from a binary distribution";
|
2007-08-11 22:55:40 +02:00
|
|
|
};
|
|
|
|
}
|