2018-12-14 10:52:25 +00:00
|
|
|
{ stdenv, fetchFromGitHub, coq }:
|
2018-11-20 23:16:27 +00:00
|
|
|
|
2018-12-14 10:52:25 +00:00
|
|
|
let param =
|
2018-11-20 23:16:27 +00:00
|
|
|
{
|
2020-05-26 16:35:56 +01:00
|
|
|
version = "20200131";
|
|
|
|
rev = "203d4c20211d6b17741f1fdca46dbc091f5e961a";
|
|
|
|
sha256 = "0xylkdmb2dqnnqinf3pigz4mf4zmczcbpjnn59g5g76m7f2cqxl0";
|
2018-11-20 23:16:27 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2018-11-20 23:16:27 +00:00
|
|
|
name = "coq${coq.coq-version}-InfSeqExt-${param.version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DistributedComponents";
|
|
|
|
repo = "InfSeqExt";
|
|
|
|
inherit (param) rev sha256;
|
|
|
|
};
|
|
|
|
|
2018-12-14 10:52:25 +00:00
|
|
|
buildInputs = [ coq ];
|
|
|
|
|
2018-11-20 23:16:27 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-12-14 10:52:25 +00:00
|
|
|
preConfigure = "patchShebangs ./configure";
|
|
|
|
|
2019-11-05 01:10:31 +00:00
|
|
|
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
|
2018-11-20 23:16:27 +00:00
|
|
|
|
|
|
|
passthru = {
|
2020-05-26 16:35:56 +01:00
|
|
|
compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" "8.10" "8.11" ];
|
2018-11-20 23:16:27 +00:00
|
|
|
};
|
|
|
|
}
|