2016-12-22 18:34:56 +00:00
|
|
|
{ callPackage, fetchurl, coq }:
|
2014-09-28 11:43:48 +00:00
|
|
|
|
2016-12-22 18:34:56 +00:00
|
|
|
if coq.coq-version == "8.4" then
|
2014-09-28 11:43:48 +00:00
|
|
|
|
2016-12-22 18:34:56 +00:00
|
|
|
callPackage ./generic.nix {
|
|
|
|
|
|
|
|
name = "coq-mathcomp-1.6-${coq.coq-version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://ssr.msr-inria.inria.fr/FTP/mathcomp-1.6.tar.gz;
|
|
|
|
sha256 = "0adr556032r1jkvphbpfvrrv041qk0yqb7a1xnbam52ji0mdl2w8";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if coq.coq-version == "8.5" then
|
2014-09-28 11:43:48 +00:00
|
|
|
|
2016-12-22 18:34:56 +00:00
|
|
|
callPackage ./generic.nix {
|
2014-09-28 11:43:48 +00:00
|
|
|
|
2016-12-22 18:34:56 +00:00
|
|
|
name = "coq-mathcomp-1.6-${coq.coq-version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://ssr.msr-inria.inria.fr/FTP/mathcomp-1.6.tar.gz;
|
|
|
|
sha256 = "0adr556032r1jkvphbpfvrrv041qk0yqb7a1xnbam52ji0mdl2w8";
|
|
|
|
};
|
2014-09-28 11:43:48 +00:00
|
|
|
|
2016-12-22 18:34:56 +00:00
|
|
|
}
|
2014-10-13 21:10:19 +00:00
|
|
|
|
2016-12-22 18:34:56 +00:00
|
|
|
else if coq.coq-version == "8.6" then
|
2014-09-28 11:43:48 +00:00
|
|
|
|
2015-05-28 18:31:12 +00:00
|
|
|
callPackage ./generic.nix {
|
2016-12-22 18:34:56 +00:00
|
|
|
|
|
|
|
name = "coq-mathcomp-1.6.1-${coq.coq-version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/math-comp/math-comp/archive/mathcomp-1.6.1.tar.gz;
|
|
|
|
sha256 = "1j9ylggjzrxz1i2hdl2yhsvmvy5z6l4rprwx7604401080p5sgjw";
|
|
|
|
};
|
|
|
|
|
2014-09-28 11:43:48 +00:00
|
|
|
}
|
2016-12-22 18:34:56 +00:00
|
|
|
|
|
|
|
else throw "No ssreflect package for Coq version ${coq.coq-version}"
|