2015-05-28 17:09:05 +03:00
|
|
|
{ callPackage, fetchurl, coq }:
|
2014-09-28 15:43:48 +04:00
|
|
|
|
2015-05-28 17:09:05 +03:00
|
|
|
if coq.coq-version == "8.4" then
|
2014-09-28 15:43:48 +04:00
|
|
|
|
2015-05-28 17:09:05 +03:00
|
|
|
callPackage ./generic.nix {
|
2014-09-28 15:43:48 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-12-20 22:12:23 +03:00
|
|
|
url = http://ssr.msr-inria.inria.fr/FTP/mathcomp-1.6.tar.gz;
|
|
|
|
sha256 = "0adr556032r1jkvphbpfvrrv041qk0yqb7a1xnbam52ji0mdl2w8";
|
2014-09-28 15:43:48 +04:00
|
|
|
};
|
|
|
|
|
2015-05-28 17:09:05 +03:00
|
|
|
}
|
2015-05-28 15:10:39 +03:00
|
|
|
|
2015-05-28 17:09:05 +03:00
|
|
|
else if coq.coq-version == "8.5" then
|
2014-09-28 15:43:48 +04:00
|
|
|
|
2015-05-28 17:09:05 +03:00
|
|
|
callPackage ./generic.nix {
|
2014-10-14 01:10:19 +04:00
|
|
|
|
2015-05-28 17:09:05 +03:00
|
|
|
src = fetchurl {
|
2015-12-20 22:12:23 +03:00
|
|
|
url = http://ssr.msr-inria.inria.fr/FTP/mathcomp-1.6.tar.gz;
|
|
|
|
sha256 = "0adr556032r1jkvphbpfvrrv041qk0yqb7a1xnbam52ji0mdl2w8";
|
2014-09-28 15:43:48 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
2015-05-28 17:09:05 +03:00
|
|
|
|
|
|
|
else throw "No ssreflect package for Coq version ${coq.coq-version}"
|