2019-02-03 13:44:41 +00:00
|
|
|
{ stdenv, fetchFromGitHub, coq, mathcomp-bigenough, mathcomp-finmap }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-16 09:30:14 +01:00
|
|
|
version = "0.2.0";
|
2019-02-03 13:44:41 +00:00
|
|
|
name = "coq${coq.coq-version}-mathcomp-analysis-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "math-comp";
|
|
|
|
repo = "analysis";
|
|
|
|
rev = version;
|
2019-04-16 09:30:14 +01:00
|
|
|
sha256 = "1186xjxgns4ns1szyi931964bjm0mp126qzlv10mkqqgfw07nhrd";
|
2019-02-03 13:44:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ coq ];
|
|
|
|
propagatedBuildInputs = [ mathcomp-bigenough mathcomp-finmap ];
|
|
|
|
|
|
|
|
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Analysis library compatible with Mathematical Components";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
inherit (coq.meta) platforms;
|
|
|
|
license = stdenv.lib.licenses.cecill-c;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2019-02-11 16:16:31 +00:00
|
|
|
compatibleCoqVersions = v: builtins.elem v [ "8.8" "8.9" ];
|
2019-02-03 13:44:41 +00:00
|
|
|
};
|
|
|
|
}
|