2020-08-28 22:05:46 +01:00
|
|
|
{ lib, mkCoqDerivation, which, autoconf,
|
|
|
|
coq, ssreflect, version ? null }:
|
2016-01-05 21:36:30 +00:00
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
with lib; mkCoqDerivation {
|
|
|
|
pname = "coquelicot";
|
|
|
|
owner = "coquelicot";
|
|
|
|
domain = "gitlab.inria.fr";
|
|
|
|
inherit version;
|
|
|
|
defaultVersion = with versions; switch coq.coq-version [
|
|
|
|
{ case = isGe "8.8" ; out = "3.2.0"; }
|
|
|
|
{ case = range "8.8" "8.13"; out = "3.1.0"; }
|
|
|
|
{ case = range "8.5" "8.9"; out = "3.0.2"; }
|
|
|
|
] null;
|
|
|
|
release."3.2.0".sha256 = "07w7dbl8x7xxnbr2q39wrdh054gvi3daqjpdn1jm53crsl1fjxm4";
|
|
|
|
release."3.1.0".sha256 = "02i0djar13yk01hzaqprcldhhscn9843x9nf6x3jkv4wv1jwnx9f";
|
|
|
|
release."3.0.2".sha256 = "1rqfbbskgz7b1bcpva8wh3v3456sq2364y804f94sc8y5sij23nl";
|
|
|
|
releaseRev = v: "coquelicot-${v}";
|
2019-07-26 17:27:30 +01:00
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
nativeBuildInputs = [ which autoconf ];
|
2016-01-05 21:36:30 +00:00
|
|
|
propagatedBuildInputs = [ ssreflect ];
|
2020-08-28 22:05:46 +01:00
|
|
|
useMelquiondRemake.logpath = "Coquelicot";
|
2016-01-05 21:36:30 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://coquelicot.saclay.inria.fr/";
|
2016-01-05 21:36:30 +00:00
|
|
|
description = "A Coq library for Reals";
|
2020-08-28 22:05:46 +01:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
2016-01-05 21:36:30 +00:00
|
|
|
};
|
|
|
|
}
|