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

52 lines
2.4 KiB
Nix
Raw Normal View History

2020-08-28 22:05:46 +01:00
{ lib, mkCoqDerivation, which, coq, version ? null }:
2019-08-06 10:15:37 +01:00
2020-08-28 22:05:46 +01:00
with builtins; with lib; let
2021-02-18 19:45: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-04-15 16:44:44 +01:00
{ case = "8.13"; out = { version = "1.13.1"; };}
2021-02-18 19:45:45 +00:00
] {});
2020-08-28 22:05:46 +01:00
in mkCoqDerivation {
pname = "elpi";
repo = "coq-elpi";
owner = "LPCIC";
inherit version;
defaultVersion = lib.switch coq.coq-version [
2021-04-15 16:44:44 +01:00
{ case = "8.13"; out = "1.9.7"; }
2021-04-15 16:45:07 +01:00
{ case = "8.12"; out = "1.8.3_8.12"; }
2021-04-15 16:45:24 +01:00
{ case = "8.11"; out = "1.6.3_8.11"; }
2020-08-28 22:05:46 +01:00
] null;
2021-04-15 16:44:44 +01:00
release."1.9.7".sha256 = "0rvn12h9dpk9s4pxy32p8j0a1h7ib7kg98iv1cbrdg25y5vs85n1";
2021-03-29 11:12:00 +01:00
release."1.9.5".sha256 = "0gjdwmb6bvb5gh0a6ra48bz5fb3pr5kpxijb7a8mfydvar5i9qr6";
2021-03-17 18:38:40 +00:00
release."1.9.4".sha256 = "0nii7238mya74f9g6147qmpg6gv6ic9b54x5v85nb6q60d9jh0jq";
2021-02-18 19:45:45 +00:00
release."1.9.3".sha256 = "198irm800fx3n8n56vx1c6f626cizp1d7jfkrc6ba4iqhb62ma0z";
release."1.9.2".sha256 = "1rr2fr8vjkc0is7vh1461aidz2iwkigdkp6bqss4hhv0c3ijnn07";
2021-04-15 16:45:07 +01:00
release."1.8.3_8.12".sha256 = "15z2l4zy0qpw0ws7bvsmpmyv543aqghrfnl48nlwzn9q0v89p557";
release."1.8.3_8.12".version = "1.8.3";
2021-03-29 11:12:48 +01:00
release."1.8.2_8.12".sha256 = "1n6jwcdazvjgj8vsv2r9zgwpw5yqr5a1ndc2pwhmhqfl04b5dk4y";
release."1.8.2_8.12".version = "1.8.2";
2020-08-28 22:05:46 +01:00
release."1.8.1".sha256 = "1fbbdccdmr8g4wwpihzp4r2xacynjznf817lhijw6kqfav75zd0r";
release."1.8.0".sha256 = "13ywjg94zkbki22hx7s4gfm9rr87r4ghsgan23xyl3l9z8q0idd1";
release."1.7.0".sha256 = "1ws5cqr0xawv69prgygbl3q6dgglbaw0vc397h9flh90kxaqgyh8";
2021-04-15 16:45:24 +01:00
release."1.6.3_8.11".sha256 = "1j340cr2bv95clzzkkfmsjkklham1mj84cmiyprzwv20q89zr1hp";
release."1.6.3_8.11".version = "1.6.3";
2021-03-29 11:13:06 +01:00
release."1.6.2_8.11".sha256 = "06xrx0ljilwp63ik2sxxr7h617dgbch042xfcnfpy5x96br147rn";
release."1.6.2_8.11".version = "1.6.2";
2021-03-18 13:33:11 +00:00
release."1.6.1_8.11".sha256 = "0yyyh35i1nb3pg4hw7cak15kj4y6y9l84nwar9k1ifdsagh5zq53";
release."1.6.1_8.11".version = "1.6.1";
2020-08-28 22:05:46 +01:00
release."1.6.0_8.11".sha256 = "0ahxjnzmd7kl3gl38kyjqzkfgllncr2ybnw8bvgrc6iddgga7bpq";
2021-03-18 13:33:11 +00:00
release."1.6.0_8.11".version = "1.6.0";
2020-08-28 22:05:46 +01:00
release."1.6.0".sha256 = "0kf99i43mlf750fr7fric764mm495a53mg5kahnbp6zcjcxxrm0b";
releaseRev = v: "v${v}";
2019-08-06 10:15:37 +01:00
nativeBuildInputs = [ which ];
2020-08-28 22:05:46 +01:00
mlPlugin = true;
extraBuildInputs = [ elpi ];
2019-08-06 10:15:37 +01:00
meta = {
description = "Coq plugin embedding ELPI.";
2020-08-28 22:05:46 +01:00
maintainers = [ maintainers.cohencyril ];
license = licenses.lgpl21;
2019-08-06 10:15:37 +01:00
};
}