2021-01-09 10:05:03 +00:00
|
|
|
{ lib, mkCoqDerivation, which, coq, version ? null }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
with builtins; with lib; let
|
2021-02-19 19:06:45 +00:00
|
|
|
elpi = coq.ocamlPackages.elpi.override (lib.switch coq.coq-version [
|
|
|
|
{ case = "8.11"; out = { version = "1.11.4"; };}
|
|
|
|
{ case = "8.12"; out = { version = "1.12.0"; };}
|
2021-10-28 06:52:43 +00:00
|
|
|
{ case = "8.13"; out = { version = "1.13.7"; };}
|
|
|
|
{ case = "8.14"; out = { version = "1.13.7"; };}
|
2022-06-16 17:23:12 +00:00
|
|
|
{ case = "8.15"; out = { version = "1.15.0"; };}
|
2023-10-09 19:29:22 +00:00
|
|
|
{ case = "8.16"; out = { version = "1.17.0"; };}
|
|
|
|
{ case = "8.17"; out = { version = "1.17.0"; };}
|
|
|
|
{ case = "8.18"; out = { version = "1.17.0"; };}
|
2022-06-16 17:23:12 +00:00
|
|
|
] {} );
|
2021-01-09 10:05:03 +00:00
|
|
|
in mkCoqDerivation {
|
|
|
|
pname = "elpi";
|
|
|
|
repo = "coq-elpi";
|
|
|
|
owner = "LPCIC";
|
|
|
|
inherit version;
|
|
|
|
defaultVersion = lib.switch coq.coq-version [
|
2023-10-09 19:29:22 +00:00
|
|
|
{ case = "8.18"; out = "1.19.0"; }
|
|
|
|
{ case = "8.17"; out = "1.18.0"; }
|
2022-09-30 11:47:45 +00:00
|
|
|
{ case = "8.16"; out = "1.15.6"; }
|
2022-06-16 17:23:12 +00:00
|
|
|
{ case = "8.15"; out = "1.14.0"; }
|
2021-10-28 06:52:43 +00:00
|
|
|
{ case = "8.14"; out = "1.11.2"; }
|
|
|
|
{ case = "8.13"; out = "1.11.1"; }
|
2021-04-19 03:05:28 +00:00
|
|
|
{ case = "8.12"; out = "1.8.3_8.12"; }
|
|
|
|
{ case = "8.11"; out = "1.6.3_8.11"; }
|
2021-01-09 10:05:03 +00:00
|
|
|
] null;
|
2023-10-09 19:29:22 +00:00
|
|
|
release."1.19.0".sha256 = "sha256-kGoo61nJxeG/BqV+iQaV3iinwPStND+7+fYMxFkiKrQ=";
|
|
|
|
release."1.18.0".sha256 = "sha256-2fCOlhqi4YkiL5n8SYHuc3pLH+DArf9zuMH7IhpBc2Y=";
|
2023-03-15 16:39:30 +00:00
|
|
|
release."1.17.0".sha256 = "sha256-J8GatRKFU0ekNCG3V5dBI+FXypeHcLgC5QJYGYzFiEM=";
|
2022-09-30 11:47:45 +00:00
|
|
|
release."1.15.6".sha256 = "sha256-qc0q01tW8NVm83801HHOBHe/7H1/F2WGDbKO6nCXfno=";
|
2022-08-12 12:06:08 +00:00
|
|
|
release."1.15.1".sha256 = "sha256-NT2RlcIsFB9AvBhMxil4ZZIgx+KusMqDflj2HgQxsZg=";
|
2022-06-16 17:23:12 +00:00
|
|
|
release."1.14.0".sha256 = "sha256:1v2p5dlpviwzky2i14cj7gcgf8cr0j54bdm9fl5iz1ckx60j6nvp";
|
2022-02-20 05:27:41 +00:00
|
|
|
release."1.13.0".sha256 = "1j7s7dlnjbw222gnbrsjgmjck1yrx7h6hwm8zikcyxi0zys17w7n";
|
2022-02-10 20:34:41 +00:00
|
|
|
release."1.12.1".sha256 = "sha256-4mO6/co7NcIQSGIQJyoO8lNWXr6dqz+bIYPO/G0cPkY=";
|
2021-10-28 06:52:43 +00:00
|
|
|
release."1.11.2".sha256 = "0qk5cfh15y2zrja7267629dybd3irvxk1raz7z8qfir25a81ckd4";
|
|
|
|
release."1.11.1".sha256 = "10j076vc2hdcbm15m6s7b6xdzibgfcbzlkgjnlkr2vv9k13qf8kc";
|
|
|
|
release."1.10.1".sha256 = "1zsyx26dvj7pznfd2msl2w7zbw51q1nsdw0bdvdha6dga7ijf7xk";
|
2021-04-19 03:05:28 +00:00
|
|
|
release."1.9.7".sha256 = "0rvn12h9dpk9s4pxy32p8j0a1h7ib7kg98iv1cbrdg25y5vs85n1";
|
2021-04-13 19:44:15 +00:00
|
|
|
release."1.9.5".sha256 = "0gjdwmb6bvb5gh0a6ra48bz5fb3pr5kpxijb7a8mfydvar5i9qr6";
|
2021-03-19 17:17:44 +00:00
|
|
|
release."1.9.4".sha256 = "0nii7238mya74f9g6147qmpg6gv6ic9b54x5v85nb6q60d9jh0jq";
|
2021-02-19 19:06:45 +00:00
|
|
|
release."1.9.3".sha256 = "198irm800fx3n8n56vx1c6f626cizp1d7jfkrc6ba4iqhb62ma0z";
|
|
|
|
release."1.9.2".sha256 = "1rr2fr8vjkc0is7vh1461aidz2iwkigdkp6bqss4hhv0c3ijnn07";
|
2021-04-19 03:05:28 +00:00
|
|
|
release."1.8.3_8.12".sha256 = "15z2l4zy0qpw0ws7bvsmpmyv543aqghrfnl48nlwzn9q0v89p557";
|
|
|
|
release."1.8.3_8.12".version = "1.8.3";
|
2021-04-13 19:44:15 +00:00
|
|
|
release."1.8.2_8.12".sha256 = "1n6jwcdazvjgj8vsv2r9zgwpw5yqr5a1ndc2pwhmhqfl04b5dk4y";
|
|
|
|
release."1.8.2_8.12".version = "1.8.2";
|
2021-01-09 10:05:03 +00:00
|
|
|
release."1.8.1".sha256 = "1fbbdccdmr8g4wwpihzp4r2xacynjznf817lhijw6kqfav75zd0r";
|
|
|
|
release."1.8.0".sha256 = "13ywjg94zkbki22hx7s4gfm9rr87r4ghsgan23xyl3l9z8q0idd1";
|
|
|
|
release."1.7.0".sha256 = "1ws5cqr0xawv69prgygbl3q6dgglbaw0vc397h9flh90kxaqgyh8";
|
2021-04-19 03:05:28 +00:00
|
|
|
release."1.6.3_8.11".sha256 = "1j340cr2bv95clzzkkfmsjkklham1mj84cmiyprzwv20q89zr1hp";
|
|
|
|
release."1.6.3_8.11".version = "1.6.3";
|
2021-04-13 19:44:15 +00:00
|
|
|
release."1.6.2_8.11".sha256 = "06xrx0ljilwp63ik2sxxr7h617dgbch042xfcnfpy5x96br147rn";
|
|
|
|
release."1.6.2_8.11".version = "1.6.2";
|
2021-03-23 19:22:30 +00:00
|
|
|
release."1.6.1_8.11".sha256 = "0yyyh35i1nb3pg4hw7cak15kj4y6y9l84nwar9k1ifdsagh5zq53";
|
|
|
|
release."1.6.1_8.11".version = "1.6.1";
|
2021-01-09 10:05:03 +00:00
|
|
|
release."1.6.0_8.11".sha256 = "0ahxjnzmd7kl3gl38kyjqzkfgllncr2ybnw8bvgrc6iddgga7bpq";
|
2021-03-23 19:22:30 +00:00
|
|
|
release."1.6.0_8.11".version = "1.6.0";
|
2021-01-09 10:05:03 +00:00
|
|
|
release."1.6.0".sha256 = "0kf99i43mlf750fr7fric764mm495a53mg5kahnbp6zcjcxxrm0b";
|
|
|
|
releaseRev = v: "v${v}";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
buildFlags = [ "OCAMLWARN=" ];
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
mlPlugin = true;
|
2023-03-04 12:14:45 +00:00
|
|
|
propagatedBuildInputs = [ coq.ocamlPackages.findlib elpi ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Coq plugin embedding ELPI.";
|
2021-01-09 10:05:03 +00:00
|
|
|
maintainers = [ maintainers.cohencyril ];
|
2021-05-28 09:39:13 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|