coqPackages.tlc: 20181116 → 20200328

This commit is contained in:
Vincent Laporte 2020-07-06 06:46:32 +02:00 committed by Vincent Laporte
parent 3115fe6989
commit 5adadd1466

View File

@ -1,13 +1,27 @@
{ stdenv, fetchurl, coq }: { stdenv, fetchurl, fetchFromGitHub, coq }:
stdenv.mkDerivation rec { let params =
version = "20181116"; if stdenv.lib.versionAtLeast coq.coq-version "8.10"
name = "coq${coq.coq-version}-tlc-${version}"; then rec {
version = "20200328";
src = fetchFromGitHub {
owner = "charguer";
repo = "tlc";
rev = version;
sha256 = "16vzild9gni8zhgb3qhmka47f8zagdh03k6nssif7drpim8233lx";
};
} else rec {
version = "20181116";
src = fetchurl {
url = "http://tlc.gforge.inria.fr/releases/tlc-${version}.tar.gz";
sha256 = "0iv6f6zmrv2lhq3xq57ipmw856ahsql754776ymv5wjm88ld63nm";
};
}
; in
src = fetchurl { stdenv.mkDerivation {
url = "http://tlc.gforge.inria.fr/releases/tlc-${version}.tar.gz"; inherit (params) version src;
sha256 = "0iv6f6zmrv2lhq3xq57ipmw856ahsql754776ymv5wjm88ld63nm"; pname = "coq${coq.coq-version}-tlc";
};
buildInputs = [ coq ]; buildInputs = [ coq ];
@ -22,6 +36,6 @@ stdenv.mkDerivation rec {
}; };
passthru = { passthru = {
compatibleCoqVersions = stdenv.lib.flip builtins.elem [ "8.6" "8.7" "8.8" "8.9" "8.10" ]; compatibleCoqVersions = stdenv.lib.flip builtins.elem [ "8.6" "8.7" "8.8" "8.9" "8.10" "8.11" "8.12" ];
}; };
} }