2022-06-16 17:23:12 +00:00
|
|
|
{ lib, bash, autoconf, automake,
|
2021-01-09 10:05:03 +00:00
|
|
|
mkCoqDerivation, coq, version ? null }:
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
mkCoqDerivation {
|
2021-01-09 10:05:03 +00:00
|
|
|
pname = "flocq";
|
|
|
|
owner = "flocq";
|
|
|
|
domain = "gitlab.inria.fr";
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
2023-10-09 19:29:22 +00:00
|
|
|
{ case = range "8.14" "8.18"; out = "4.1.3"; }
|
2023-03-15 16:39:30 +00:00
|
|
|
{ case = range "8.14" "8.17"; out = "4.1.1"; }
|
2022-08-12 12:06:08 +00:00
|
|
|
{ case = range "8.14" "8.16"; out = "4.1.0"; }
|
2022-02-10 20:34:41 +00:00
|
|
|
{ case = range "8.7" "8.15"; out = "3.4.3"; }
|
2021-01-09 10:05:03 +00:00
|
|
|
{ case = range "8.5" "8.8"; out = "2.6.1"; }
|
|
|
|
] null;
|
2023-10-09 19:29:22 +00:00
|
|
|
release."4.1.3".sha256 = "sha256-os3cI885xNpxI+1p5rb8fSNnxKr7SFxqh83+3AM3t4I=";
|
2023-03-15 16:39:30 +00:00
|
|
|
release."4.1.1".sha256 = "sha256-FbClxlV0ZaxITe7s9SlNbpeMNDJli+Dfh2TMrjaMtHo=";
|
2022-08-12 12:06:08 +00:00
|
|
|
release."4.1.0".sha256 = "sha256:09rak9cha7q11yfqracbcq75mhmir84331h1218xcawza48rbjik";
|
2022-02-10 20:34:41 +00:00
|
|
|
release."3.4.3".sha256 = "sha256-YTdWlEmFJjCcHkl47jSOgrGqdXoApJY4u618ofCaCZE=";
|
2021-09-26 12:46:18 +00:00
|
|
|
release."3.4.2".sha256 = "1s37hvxyffx8ccc8mg5aba7ivfc39p216iibvd7f2cb9lniqk1pw";
|
2021-01-09 10:05:03 +00:00
|
|
|
release."3.3.1".sha256 = "1mk8adhi5hrllsr0hamzk91vf2405sjr4lh5brg9201mcw11abkz";
|
|
|
|
release."2.6.1".sha256 = "0q5a038ww5dn72yvwn5298d3ridkcngb1dik8hdyr3xh7gr5qibj";
|
|
|
|
releaseRev = v: "flocq-${v}";
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
nativeBuildInputs = [ bash autoconf ];
|
2021-01-09 10:05:03 +00:00
|
|
|
mlPlugin = true;
|
|
|
|
useMelquiondRemake.logpath = "Flocq";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A floating-point formalization for the Coq system";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ jwiegley ];
|
|
|
|
};
|
|
|
|
}
|