mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
41 lines
842 B
Nix
41 lines
842 B
Nix
{ 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 = "Library for manipulating sets and relations of integer points bounded by linear constraints";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|