nixpkgs/pkgs/development/libraries/aterm/2.5.nix

34 lines
908 B
Nix
Raw Normal View History

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "aterm-2.5-r21238";
src = fetchurl {
url = http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/aterm-2.5pre21238-l2q7rg38/aterm-2.5.tar.gz;
md5 = "33ddcb1a229baf406ad1f603eb1d5995";
};
patches = [
# Fix for http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=841
./max-long.patch
# Patch the ATerm header files so that they don't rely on
# SIZEOF_LONG, SIZEOF_INT and SIZEOF_VOID_P being set.
./sizeof.patch
];
doCheck = true;
dontDisableStatic = true;
2014-10-29 17:55:40 +01:00
NIX_CFLAGS_COMPILE = "-D__USE_BSD";
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";
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}