2017-12-15 19:52:16 +00:00
|
|
|
{ stdenv, fetchurl, coq, bignums }:
|
2017-09-04 02:39:03 +00:00
|
|
|
|
2017-07-18 23:05:42 +00:00
|
|
|
stdenv.mkDerivation {
|
2017-11-12 17:37:11 +00:00
|
|
|
name = "coq${coq.coq-version}-CoLoR-1.4.0";
|
2017-07-18 23:05:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-11-12 17:37:11 +00:00
|
|
|
url = https://gforge.inria.fr/frs/download.php/file/37205/color.1.4.0.tar.gz;
|
|
|
|
sha256 = "1jsp9adsh7w59y41ihbwchryjhjpajgs9bhf8rnb4b3hzccqxgag";
|
2017-07-18 23:05:42 +00:00
|
|
|
};
|
|
|
|
|
2017-12-15 19:52:16 +00:00
|
|
|
buildInputs = [ coq bignums ];
|
2017-11-12 17:37:11 +00:00
|
|
|
enableParallelBuilding = false;
|
2017-07-18 23:25:53 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make -f Makefile.coq COQLIB=$out/lib/coq/${coq.coq-version}/ install
|
|
|
|
'';
|
2017-07-18 23:05:42 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://color.inria.fr/;
|
|
|
|
description = "CoLoR is a library of formal mathematical definitions and proofs of theorems on rewriting theory and termination whose correctness has been mechanically checked by the Coq proof assistant.";
|
|
|
|
maintainers = with maintainers; [ jwiegley ];
|
|
|
|
platforms = coq.meta.platforms;
|
|
|
|
};
|
2017-12-15 19:52:16 +00:00
|
|
|
|
|
|
|
passthru = {
|
2018-03-21 14:00:47 +00:00
|
|
|
compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" ];
|
2017-12-15 19:52:16 +00:00
|
|
|
};
|
2017-07-18 23:05:42 +00:00
|
|
|
}
|