mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-14 16:14:50 +00:00
![John Wiegley](/assets/img/avatar_default.png)
See the INSTALL file in the mathcomp package for instructions on upgrading projects from 1.5 to 1.6. The 1.6 version works with both Coq 8.4 and 8.5.
26 lines
557 B
Nix
26 lines
557 B
Nix
{ callPackage, fetchurl, coq }:
|
|
|
|
if coq.coq-version == "8.4" then
|
|
|
|
callPackage ./generic.nix {
|
|
|
|
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
|
|
|
|
callPackage ./generic.nix {
|
|
|
|
src = fetchurl {
|
|
url = http://ssr.msr-inria.inria.fr/FTP/mathcomp-1.6.tar.gz;
|
|
sha256 = "0adr556032r1jkvphbpfvrrv041qk0yqb7a1xnbam52ji0mdl2w8";
|
|
};
|
|
|
|
}
|
|
|
|
else throw "No ssreflect package for Coq version ${coq.coq-version}"
|