2008-01-29 01:32:56 -08:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-02-23 08:05:46 -08:00
|
|
|
name = "aterm-2.5-r21238";
|
2008-08-29 04:48:44 -07:00
|
|
|
|
2008-01-29 01:32:56 -08:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/aterm-2.5pre21238-l2q7rg38/aterm-2.5.tar.gz;
|
|
|
|
md5 = "33ddcb1a229baf406ad1f603eb1d5995";
|
|
|
|
};
|
2008-08-29 04:48:44 -07:00
|
|
|
|
2009-01-27 09:46:07 -08:00
|
|
|
patches = [
|
|
|
|
# Fix for http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=841
|
|
|
|
./max-long.patch
|
2010-02-23 06:43:09 -08:00
|
|
|
|
|
|
|
# Patch the ATerm header files so that they don't rely on
|
|
|
|
# SIZEOF_LONG, SIZEOF_INT and SIZEOF_VOID_P being set.
|
|
|
|
./sizeof.patch
|
2009-01-27 09:46:07 -08:00
|
|
|
];
|
2013-03-26 03:02:29 -07:00
|
|
|
|
2008-08-29 04:48:44 -07:00
|
|
|
doCheck = true;
|
|
|
|
|
2013-03-26 03:02:29 -07:00
|
|
|
dontDisableStatic = true;
|
2009-05-08 01:21:35 -07:00
|
|
|
|
2014-10-29 09:55:40 -07:00
|
|
|
NIX_CFLAGS_COMPILE = "-D__USE_BSD";
|
|
|
|
|
2008-01-29 01:32:56 -08: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";
|
2013-11-04 11:25:20 -08:00
|
|
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
|
2014-09-13 04:51:39 -07:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2008-01-29 01:32:56 -08:00
|
|
|
};
|
|
|
|
}
|