nixpkgs/pkgs/development/coq-modules/flocq/default.nix

28 lines
924 B
Nix
Raw Normal View History

2020-08-28 23:05:46 +02:00
{ lib, bash, which, autoconf, automake,
mkCoqDerivation, coq, version ? null }:
with lib; mkCoqDerivation {
pname = "flocq";
owner = "flocq";
domain = "gitlab.inria.fr";
inherit version;
defaultVersion = with versions; switch coq.coq-version [
2021-09-17 22:40:07 +02:00
{ case = range "8.7" "8.14"; out = "3.4.2"; }
2020-08-28 23:05:46 +02:00
{ case = range "8.5" "8.8"; out = "2.6.1"; }
] null;
2021-09-17 22:40:07 +02:00
release."3.4.2".sha256 = "1s37hvxyffx8ccc8mg5aba7ivfc39p216iibvd7f2cb9lniqk1pw";
2020-08-28 23:05:46 +02:00
release."3.3.1".sha256 = "1mk8adhi5hrllsr0hamzk91vf2405sjr4lh5brg9201mcw11abkz";
release."2.6.1".sha256 = "0q5a038ww5dn72yvwn5298d3ridkcngb1dik8hdyr3xh7gr5qibj";
releaseRev = v: "flocq-${v}";
nativeBuildInputs = [ bash which autoconf ];
mlPlugin = true;
useMelquiondRemake.logpath = "Flocq";
meta = {
description = "A floating-point formalization for the Coq system";
2014-12-07 13:14:08 +01:00
license = licenses.lgpl3;
2014-10-21 07:23:36 +02:00
maintainers = with maintainers; [ jwiegley ];
};
2014-10-21 07:23:36 +02:00
}