3
0
Fork 0
forked from mirrors/nixpkgs

Add isl, the integer set library (needed for cloog, an optional dependency for GCC 4.6.0)

svn path=/nixpkgs/trunk/; revision=26633
This commit is contained in:
Shea Levy 2011-03-31 21:19:39 +00:00
parent bc36f56977
commit bc6ee5020d
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{stdenv, fetchurl, gmp, static ? false}:
let
version = "0.06";
staticFlags = if static then " --enable-static --disable-shared" else "";
in
stdenv.mkDerivation {
name = "isl-${version}";
src = fetchurl {
url = "http://www.kotnet.org/~skimo/isl/isl-${version}.tar.bz2";
sha256 = "0w1i1m94w0jkmm0bzlp08c4r97j7yp0d7crxf28524b9mgbg0mwk";
};
buildInputs = [ gmp ];
dontDisableStatic = if static then true else false;
configureFlags = "--with-gmp-prefix=${gmp}" + staticFlags;
meta = {
homepage = http://www.kotnet.org/~skimo/isl/;
license = "LGPLv2.1";
description = "A library for manipulating sets and relations of integer points bounded by linear constraints.";
maintainers = [ stdenv.lib.maintainers.shlevy ];
};
}

View file

@ -821,6 +821,8 @@ let
ised = callPackage ../tools/misc/ised {};
isl = callPackage ../development/libraries/isl { };
isync = callPackage ../tools/networking/isync { };
jdiskreport = callPackage ../tools/misc/jdiskreport { };