nixpkgs/pkgs/development/compilers/strategoxt/libraries/stratego-libraries-0.17pre.nix
Martin Bravenboer 80e695bfca PKG_CONFIG_PATH no longer required
svn path=/nixpkgs/trunk/; revision=6268
2006-08-27 12:52:56 +00:00

20 lines
550 B
Nix

{stdenv, fetchurl, pkgconfig, aterm}:
stdenv.mkDerivation {
name = "stratego-libraries-0.17";
src =
fetchurl {
url = http://www.cs.uu.nl/people/martin/stratego-libraries.tar.gz;
md5 = "e99ce18179400c8ef373e8e668a4c576";
};
buildInputs = [pkgconfig aterm];
configureFlags =
if stdenv ? isMinGW && stdenv.isMinGW then "--with-std=C99" else "";
# avoids loads of warnings about too big description fields because of a broken debug format
CFLAGS =
if stdenv ? isMinGW && stdenv.isMinGW then "-O2" else null;
}