blob: 31bd990645b590c1fda040b2345110f5a5ce3e59 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ version
, urls
, sha256
, configureFlags ? []
, patches ? []
}:
{ lib
, stdenv
, fetchurl
, gmp
, autoreconfHook
, buildPackages
}:
stdenv.mkDerivation {
pname = "isl";
inherit version;
src = fetchurl {
inherit urls sha256;
};
inherit patches;
strictDeps = true;
depsBuildBuild = lib.optionals (lib.versionAtLeast version "0.24") [ buildPackages.stdenv.cc ];
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;
};
}
|