2021-12-06 16:07:01 +00:00
|
|
|
{ version
|
|
|
|
, urls
|
|
|
|
, sha256
|
|
|
|
, configureFlags ? []
|
|
|
|
, patches ? []
|
|
|
|
}:
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, gmp, autoreconfHook
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2022-04-15 01:41:22 +00:00
|
|
|
pname = "isl";
|
|
|
|
inherit version;
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
inherit urls sha256;
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit patches;
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
strictDeps = true;
|
2023-04-29 16:46:19 +00:00
|
|
|
nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isRiscV && lib.versionOlder version "0.24") [ autoreconfHook ];
|
2021-12-06 16:07:01 +00:00
|
|
|
buildInputs = [ gmp ];
|
|
|
|
|
|
|
|
inherit configureFlags;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://libisl.sourceforge.io/";
|
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
description = "A library for manipulating sets and relations of integer points bounded by linear constraints";
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|