c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
35 lines
726 B
Nix
35 lines
726 B
Nix
{ version
|
|
, urls
|
|
, sha256
|
|
, configureFlags ? []
|
|
, patches ? []
|
|
}:
|
|
|
|
{ lib, stdenv, fetchurl, gmp, autoreconfHook
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "isl";
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
inherit urls sha256;
|
|
};
|
|
|
|
inherit patches;
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = lib.optionals (stdenv.hostPlatform.isRiscV && lib.versionOlder version "0.24") [ autoreconfHook ];
|
|
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;
|
|
};
|
|
}
|