2021-02-19 18:34:30 +00:00
|
|
|
{ lib, mkCoqDerivation, autoconf, coq, coquelicot, flocq,
|
|
|
|
mathcomp-ssreflect, mathcomp-fingroup, bignums ? null, gnuplot_qt, version ? null }:
|
2020-08-28 21:05:46 +00:00
|
|
|
|
2021-08-02 07:25:59 +00:00
|
|
|
mkCoqDerivation rec {
|
2020-08-28 21:05:46 +00:00
|
|
|
pname = "interval";
|
|
|
|
owner = "coqinterval";
|
|
|
|
domain = "gitlab.inria.fr";
|
|
|
|
inherit version;
|
2021-08-02 07:25:59 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
2022-11-06 14:37:25 +00:00
|
|
|
{ case = range "8.12" "8.16"; out = "4.6.0"; }
|
2022-09-11 13:46:54 +00:00
|
|
|
{ case = range "8.8" "8.16"; out = "4.5.2"; }
|
2020-08-28 21:05:46 +00:00
|
|
|
{ case = range "8.8" "8.12"; out = "4.0.0"; }
|
|
|
|
{ case = range "8.7" "8.11"; out = "3.4.2"; }
|
|
|
|
{ case = range "8.5" "8.6"; out = "3.3.0"; }
|
|
|
|
] null;
|
2022-11-06 14:37:25 +00:00
|
|
|
release."4.6.0".sha256 = "sha256-n9ECKnV0L6XYcIcbYyOJKwlbisz/RRbNW5YESHo07X0=";
|
2022-09-11 13:46:54 +00:00
|
|
|
release."4.5.2".sha256 = "sha256-r0yE9pkC4EYlqsimxkdlCXevRcwKa3HGFZiUH+ueUY8=";
|
2022-05-16 19:27:33 +00:00
|
|
|
release."4.5.1".sha256 = "sha256-5OxbSPdw/1FFENubulKSk6fEIEYSPCxfvMMgtgN6j6s=";
|
2021-07-31 07:31:23 +00:00
|
|
|
release."4.3.0".sha256 = "sha256-k8DLC4HYYpHeEEgXUafS8jkaECqlM+/CoYaInmUTYko=";
|
|
|
|
release."4.2.0".sha256 = "sha256-SD5thgpirs3wmZBICjXGpoefg9AAXyExb5t8tz3iZhE=";
|
2021-05-08 14:38:12 +00:00
|
|
|
release."4.1.1".sha256 = "sha256-h2NJ6sZt1C/88v7W2xyuftEDoyRt3H6kqm5g2hc1aoU=";
|
2020-08-28 21:05:46 +00:00
|
|
|
release."4.0.0".sha256 = "1hhih6zmid610l6c8z3x4yzdzw9jniyjiknd1vpkyb2rxvqm3gzp";
|
|
|
|
release."3.4.2".sha256 = "07ngix32qarl3pjnm9d0vqc9fdrgm08gy7zp306hwxjyq7h1v7z0";
|
|
|
|
release."3.3.0".sha256 = "0lz2hgggzn4cvklvm8rpaxvwaryf37i8mzqajqgdxdbd8f12acsz";
|
|
|
|
releaseRev = v: "interval-${v}";
|
|
|
|
|
2021-02-19 18:34:30 +00:00
|
|
|
nativeBuildInputs = [ autoconf ];
|
|
|
|
propagatedBuildInputs = lib.optional (lib.versions.isGe "8.6" coq.coq-version) bignums
|
|
|
|
++ [ coquelicot flocq mathcomp-ssreflect mathcomp-fingroup ]
|
2021-08-02 07:25:59 +00:00
|
|
|
++ lib.optionals (lib.versions.isGe "4.2.0" defaultVersion) [ gnuplot_qt ];
|
2020-08-28 21:05:46 +00:00
|
|
|
useMelquiondRemake.logpath = "Interval";
|
2021-07-31 07:31:23 +00:00
|
|
|
mlPlugin = true;
|
|
|
|
enableParallelBuilding = true;
|
2014-12-08 06:33:37 +00:00
|
|
|
|
2020-08-28 21:05:46 +00:00
|
|
|
meta = with lib; {
|
2014-12-08 06:33:37 +00:00
|
|
|
description = "Tactics for simplifying the proofs of inequalities on expressions of real numbers for the Coq proof assistant";
|
|
|
|
license = licenses.cecill-c;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|