2015-05-28 15:09:05 +01:00
|
|
|
{ callPackage, fetchurl, coq }:
|
2014-09-28 12:43:48 +01:00
|
|
|
|
2015-05-28 15:09:05 +01:00
|
|
|
if coq.coq-version == "8.4" then
|
2014-09-28 12:43:48 +01:00
|
|
|
|
2015-05-28 15:09:05 +01:00
|
|
|
callPackage ./generic.nix {
|
2014-09-28 12:43:48 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://ssr.msr-inria.inria.fr/FTP/ssreflect-1.5.tar.gz;
|
|
|
|
sha256 = "0hm1ha7sxqfqhc7iwhx6zdz3nki4rj5nfd3ab24hmz8v7mlpinds";
|
|
|
|
};
|
|
|
|
|
2015-05-28 15:09:05 +01:00
|
|
|
}
|
2015-05-28 13:10:39 +01:00
|
|
|
|
2015-05-28 15:09:05 +01:00
|
|
|
else if coq.coq-version == "8.5" then
|
2014-09-28 12:43:48 +01:00
|
|
|
|
2015-05-28 15:09:05 +01:00
|
|
|
callPackage ./generic.nix {
|
2014-10-13 22:10:19 +01:00
|
|
|
|
2015-05-28 15:09:05 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://ssr.msr-inria.inria.fr/FTP/ssreflect-1.5.coq85beta2.tar.gz;
|
|
|
|
sha256 = "084l9xd5vgb8jml0dkm66g8cil5rsf04w821pjhn2qk9mdbwaagf";
|
2014-09-28 12:43:48 +01:00
|
|
|
};
|
|
|
|
|
2015-05-28 15:09:05 +01:00
|
|
|
patches = [ ./threads.patch ];
|
|
|
|
|
2014-09-28 12:43:48 +01:00
|
|
|
}
|
2015-05-28 15:09:05 +01:00
|
|
|
|
|
|
|
else throw "No ssreflect package for Coq version ${coq.coq-version}"
|