coqPackages.mathcomp: 1.7.0 -> 1.8.0

coqPackages.mathcomp-finmap: 1.1.0 -> 1.2.0
coqPackages.mathcomp-analysis: 0.1.0 -> 0.2.0
This commit is contained in:
Vincent Laporte
2019-04-23 09:35:38 +02:00
committed by Vincent Laporte
parent 640fd92709
commit f09a13899d
3 changed files with 21 additions and 5 deletions
@@ -1,14 +1,25 @@
{ stdenv, fetchFromGitHub, coq, mathcomp }:
let param =
if stdenv.lib.versionAtLeast mathcomp.version "1.8.0"
then {
version = "1.2.0";
sha256 = "0b6wrdr0d7rcnv86s37zm80540jl2wmiyf39ih7mw3dlwli2cyj4";
} else {
version = "1.1.0";
sha256 = "05df59v3na8jhpsfp7hq3niam6asgcaipg2wngnzxzqnl86srp2a";
}
; in
stdenv.mkDerivation rec {
version = "1.1.0";
inherit (param) version;
name = "coq${coq.coq-version}-mathcomp-finmap-${version}";
src = fetchFromGitHub {
owner = "math-comp";
repo = "finmap";
rev = version;
sha256 = "05df59v3na8jhpsfp7hq3niam6asgcaipg2wngnzxzqnl86srp2a";
inherit (param) sha256;
};
buildInputs = [ coq ];