2008-08-29 12:48:44 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2010-08-24 14:20:55 +01:00
|
|
|
let
|
|
|
|
isMingw = stdenv ? cross && stdenv.cross.config == "i686-pc-mingw32" ;
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation ( {
|
2009-01-27 17:46:07 +00:00
|
|
|
name = "aterm-2.8";
|
2008-08-29 12:48:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-01-27 17:46:07 +00:00
|
|
|
url = http://www.meta-environment.org/releases/aterm-2.8.tar.gz;
|
|
|
|
sha256 = "1vq4qpmcww3n9v7bklgp7z1yqi9gmk6hcahqjqdzc5ksa089rdms";
|
2008-08-29 12:48:44 +01:00
|
|
|
};
|
|
|
|
|
2009-01-27 17:46:07 +00:00
|
|
|
patches = [
|
|
|
|
# Fix for http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=841
|
|
|
|
./max-long.patch
|
2010-08-24 14:20:55 +01:00
|
|
|
] ++ ( if isMingw then [./aterm-mingw-asm.patch] else [] );
|
2009-01-27 17:46:07 +00:00
|
|
|
|
2008-09-02 14:51:32 +01:00
|
|
|
doCheck = true;
|
2008-08-29 12:48:44 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm;
|
|
|
|
license = "LGPL";
|
|
|
|
description = "Library for manipulation of term data structures in C";
|
|
|
|
};
|
2010-08-24 14:20:55 +01:00
|
|
|
} // ( if isMingw then { dontStrip = true; } else {}) )
|