2018-12-14 11:52:25 +01:00
|
|
|
{ stdenv, fetchFromGitHub, coq }:
|
2018-11-21 00:16:27 +01:00
|
|
|
|
2018-12-14 11:52:25 +01:00
|
|
|
let param =
|
2018-11-21 00:16:27 +01:00
|
|
|
{
|
|
|
|
version = "20180918";
|
|
|
|
rev = "243d6be45666da73a9da6c37d451327165275798";
|
|
|
|
sha256 = "1nh2psb4pcppy1akk24ilb4p08m35cba357i4xyymmarmbwqpxmn";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2018-11-21 00:16:27 +01:00
|
|
|
name = "coq${coq.coq-version}-InfSeqExt-${param.version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DistributedComponents";
|
|
|
|
repo = "InfSeqExt";
|
|
|
|
inherit (param) rev sha256;
|
|
|
|
};
|
|
|
|
|
2018-12-14 11:52:25 +01:00
|
|
|
buildInputs = [ coq ];
|
|
|
|
|
2018-11-21 00:16:27 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-12-14 11:52:25 +01:00
|
|
|
preConfigure = "patchShebangs ./configure";
|
|
|
|
|
2019-11-05 02:10:31 +01:00
|
|
|
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
|
2018-11-21 00:16:27 +01:00
|
|
|
|
|
|
|
passthru = {
|
2019-05-14 10:31:49 +02:00
|
|
|
compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" ];
|
2018-11-21 00:16:27 +01:00
|
|
|
};
|
|
|
|
}
|