elpi: 1.12.0 -> 1.13.0

master
Cyril Cohen 2021-02-18 20:45:45 +01:00 committed by Vincent Laporte
parent 2f5b9f0c09
commit 268e43a005
3 changed files with 12 additions and 5 deletions

View File

@ -1,19 +1,23 @@
{ lib, mkCoqDerivation, which, coq, version ? null }:
with builtins; with lib; let
elpi = coq.ocamlPackages.elpi.override (
optionalAttrs (coq.coq-version == "8.11") { version = "1.11.4"; }
);
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"; };}
{ case = "8.13"; out = { version = "1.13.0"; };}
] {});
in mkCoqDerivation {
pname = "elpi";
repo = "coq-elpi";
owner = "LPCIC";
inherit version;
defaultVersion = lib.switch coq.coq-version [
{ case = "8.13"; out = "1.8.1"; }
{ case = "8.13"; out = "1.9.3"; }
{ case = "8.12"; out = "1.8.0"; }
{ case = "8.11"; out = "1.6.0_8.11"; }
] null;
release."1.9.3".sha256 = "198irm800fx3n8n56vx1c6f626cizp1d7jfkrc6ba4iqhb62ma0z";
release."1.9.2".sha256 = "1rr2fr8vjkc0is7vh1461aidz2iwkigdkp6bqss4hhv0c3ijnn07";
release."1.8.1".sha256 = "1fbbdccdmr8g4wwpihzp4r2xacynjznf817lhijw6kqfav75zd0r";
release."1.8.0".sha256 = "13ywjg94zkbki22hx7s4gfm9rr87r4ghsgan23xyl3l9z8q0idd1";
release."1.7.0".sha256 = "1ws5cqr0xawv69prgygbl3q6dgglbaw0vc397h9flh90kxaqgyh8";

View File

@ -12,6 +12,8 @@ with lib; mkCoqDerivation {
release."0.10.0".sha256 = "1a3vry9nzavrlrdlq3cys3f8kpq3bz447q8c4c7lh2qal61wb32h";
releaseRev = v: "v${v}";
nativeBuildInputs = [ which ];
propagatedBuildInputs = [ coq-elpi ];
extraInstallFlags = [ "VFILES=structures.v" ];

View File

@ -1,10 +1,11 @@
{ stdenv, lib, fetchzip, buildDunePackage, camlp5
, ppxlib, ppx_deriving, re, perl, ncurses
, version ? "1.12.0"
, version ? "1.13.0"
}:
with lib;
let fetched = import ../../../build-support/coq/meta-fetch/default.nix
{inherit lib stdenv fetchzip; } ({
release."1.13.0".sha256 = "0dmzy058m1mkndv90byjaik6lzzfk3aaac7v84mpmkv6my23bygr";
release."1.12.0".sha256 = "1agisdnaq9wrw3r73xz14yrq3wx742i6j8i5icjagqk0ypmly2is";
release."1.11.4".sha256 = "1m0jk9swcs3jcrw5yyw5343v8mgax238cjb03s8gc4wipw1fn9f5";
releaseRev = v: "v${v}";