Files
nixpkgs/pkgs/development/libraries/isl/generic.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

52 lines
1.0 KiB
Nix

{
version,
urls,
sha256,
configureFlags ? [ ],
patches ? [ ],
}:
{
lib,
stdenv,
fetchurl,
gmp,
autoreconfHook,
buildPackages,
updateAutotoolsGnuConfigScriptsHook,
}:
stdenv.mkDerivation {
pname = "isl";
inherit version;
src = fetchurl {
inherit urls sha256;
};
inherit patches;
strictDeps = true;
depsBuildBuild = lib.optionals (lib.versionAtLeast version "0.23") [ buildPackages.stdenv.cc ];
nativeBuildInputs =
lib.optionals (stdenv.hostPlatform.isRiscV && lib.versionOlder version "0.23") [
autoreconfHook
]
++ [
# needed until config scripts are updated to not use /usr/bin/uname on FreeBSD native
updateAutotoolsGnuConfigScriptsHook
];
buildInputs = [ gmp ];
inherit configureFlags;
enableParallelBuilding = true;
meta = {
homepage = "https://libisl.sourceforge.io/";
license = lib.licenses.lgpl21;
description = "Library for manipulating sets and relations of integer points bounded by linear constraints";
platforms = lib.platforms.all;
};
}