diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-11-21 11:43:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 02:43:19 -0800 |
commit | f1e8640c5482f39b90864eadedab20c3f4b075c6 (patch) | |
tree | 36073fc5f56edef29164f975dbfb40c733eea92d /pkgs/development/libraries/isl/0.11.1.nix | |
parent | 129223ac31a5b1ecfb7771977331baea1c9dfb39 (diff) |
libisl: Make derivations generic, add 0.24 (#146693)
* 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>
Diffstat (limited to 'pkgs/development/libraries/isl/0.11.1.nix')
-rw-r--r-- | pkgs/development/libraries/isl/0.11.1.nix | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/pkgs/development/libraries/isl/0.11.1.nix b/pkgs/development/libraries/isl/0.11.1.nix index 5beffd1f0d2ed..a11d9eca6a6e6 100644 --- a/pkgs/development/libraries/isl/0.11.1.nix +++ b/pkgs/development/libraries/isl/0.11.1.nix @@ -1,22 +1,8 @@ -{ lib, stdenv, fetchurl, gmp }: - -stdenv.mkDerivation { - name = "isl-0.11.1"; # CLooG 0.16.3 fails to build with ISL 0.08. - - src = fetchurl { - url = "https://src.fedoraproject.org/repo/pkgs/gcc/isl-0.11.1.tar.bz2/bce1586384d8635a76d2f017fb067cd2/isl-0.11.1.tar.bz2"; - sha256 = "13d9cqa5rzhbjq0xf0b2dyxag7pqa72xj9dhsa03m8ccr1a4npq9"; - }; - - buildInputs = [ gmp ]; +import ./generic.nix { + version = "0.11.1"; + urls = [ + "https://src.fedoraproject.org/repo/pkgs/gcc/isl-0.11.1.tar.bz2/bce1586384d8635a76d2f017fb067cd2/isl-0.11.1.tar.bz2" + ]; + sha256 = "13d9cqa5rzhbjq0xf0b2dyxag7pqa72xj9dhsa03m8ccr1a4npq9"; patches = [ ./fix-gcc-build.diff ]; - - enableParallelBuilding = true; - - meta = { - homepage = "https://www.kotnet.org/~skimo/isl/"; - license = lib.licenses.lgpl21; - description = "A library for manipulating sets and relations of integer points bounded by linear constraints"; - platforms = lib.platforms.all; - }; } |