nixpkgs/pkgs/top-level/coq-packages.nix

85 lines
3.2 KiB
Nix
Raw Normal View History

{ lib, callPackage, newScope, recurseIntoAttrs
, gnumake3
, ocamlPackages_4_02
2018-08-21 21:22:24 +00:00
, ocamlPackages_4_05
}:
let
mkCoqPackages' = self: coq:
let callPackage = newScope self ; in rec {
inherit callPackage coq;
coqPackages = self;
contribs = recurseIntoAttrs
(callPackage ../development/coq-modules/contribs {});
autosubst = callPackage ../development/coq-modules/autosubst {};
bignums = if lib.versionAtLeast coq.coq-version "8.6"
then callPackage ../development/coq-modules/bignums {}
else null;
category-theory = callPackage ../development/coq-modules/category-theory { };
CoLoR = callPackage ../development/coq-modules/CoLoR {};
coq-ext-lib = callPackage ../development/coq-modules/coq-ext-lib {};
coq-haskell = callPackage ../development/coq-modules/coq-haskell { };
coqprime = callPackage ../development/coq-modules/coqprime {};
coquelicot = callPackage ../development/coq-modules/coquelicot {};
dpdgraph = callPackage ../development/coq-modules/dpdgraph {};
equations = callPackage ../development/coq-modules/equations { };
fiat_HEAD = callPackage ../development/coq-modules/fiat/HEAD.nix {};
flocq = callPackage ../development/coq-modules/flocq {};
heq = callPackage ../development/coq-modules/heq {};
HoTT = callPackage ../development/coq-modules/HoTT {};
interval = callPackage ../development/coq-modules/interval {};
iris = callPackage ../development/coq-modules/iris {};
math-classes = callPackage ../development/coq-modules/math-classes { };
mathcomp = callPackage ../development/coq-modules/mathcomp { };
metalib = callPackage ../development/coq-modules/metalib { };
2017-12-18 01:28:57 +00:00
multinomials = callPackage ../development/coq-modules/multinomials {};
paco = callPackage ../development/coq-modules/paco {};
QuickChick = callPackage ../development/coq-modules/QuickChick {};
ssreflect = callPackage ../development/coq-modules/ssreflect { };
2018-05-15 20:48:20 +00:00
stdpp = callPackage ../development/coq-modules/stdpp { };
tlc = callPackage ../development/coq-modules/tlc {};
2018-10-24 00:08:56 +00:00
Velisarios = callPackage ../development/coq-modules/Velisarios {};
};
filterCoqPackages = coq:
lib.filterAttrsRecursive
(_: p:
let pred = p.compatibleCoqVersions or (_: true);
in pred coq.coq-version
);
in rec {
mkCoqPackages = coq:
let self = mkCoqPackages' self coq; in
filterCoqPackages coq self;
coq_8_4 = callPackage ../applications/science/logic/coq/8.4.nix {
inherit (ocamlPackages_4_02) ocaml findlib lablgtk camlp5;
};
coq_8_5 = callPackage ../applications/science/logic/coq {
2018-08-21 21:22:24 +00:00
ocamlPackages = ocamlPackages_4_05;
version = "8.5pl3";
};
2017-12-16 06:14:41 +00:00
coq_8_6 = callPackage ../applications/science/logic/coq {
2018-08-21 21:33:13 +00:00
ocamlPackages = ocamlPackages_4_05;
2017-12-16 06:14:41 +00:00
version = "8.6.1";
};
coq_8_7 = callPackage ../applications/science/logic/coq {
2018-02-16 07:12:01 +00:00
version = "8.7.2";
};
2018-03-21 14:00:47 +00:00
coq_8_8 = callPackage ../applications/science/logic/coq {
2018-09-26 20:26:39 +00:00
version = "8.8.2";
2018-03-21 14:00:47 +00:00
};
coqPackages_8_5 = mkCoqPackages coq_8_5;
coqPackages_8_6 = mkCoqPackages coq_8_6;
coqPackages_8_7 = mkCoqPackages coq_8_7;
2018-03-21 14:00:47 +00:00
coqPackages_8_8 = mkCoqPackages coq_8_8;
2018-08-07 12:58:23 +00:00
coqPackages = coqPackages_8_8;
coq = coqPackages.coq;
}