* libisl: Make derivation generic Signed-off-by: Matthias Beyer <mail@beyermatthias.de> * libisl: add 0.24 Signed-off-by: Matthias Beyer <mail@beyermatthias.de> * isl: remove unused args * isl: remove dead homepages * isl: fix configureFlags * isl: fix nested callPackage use import to remove callPackage-inside-callPackage, which breaks overriding * isl: pname/version -> name pname/version is preferred, but causes rebuilds here. let's do the cleanup separately from the mass rebuild, to use the 0-rebuild-count as a 'nothing up my sleeve' gesture * isl_0_24: fix sha256 * isl_0_11: add missing patch Co-authored-by: Ryan Burns <rtburns@protonmail.com>
33 lines
559 B
Nix
33 lines
559 B
Nix
{ version
|
|
, urls
|
|
, sha256
|
|
, configureFlags ? []
|
|
, patches ? []
|
|
}:
|
|
|
|
{ lib, stdenv, fetchurl, gmp
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "isl-${version}";
|
|
|
|
src = fetchurl {
|
|
inherit urls sha256;
|
|
};
|
|
|
|
inherit patches;
|
|
|
|
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;
|
|
};
|
|
}
|