1 { lib, mkCoqDerivation, autoconf,
2 coq, ssreflect, version ? null }:
7 domain = "gitlab.inria.fr";
9 defaultVersion = with lib.versions; lib.switch coq.coq-version [
10 { case = range "8.12" "8.19"; out = "3.4.1"; }
11 { case = range "8.12" "8.18"; out = "3.4.0"; }
12 { case = range "8.12" "8.17"; out = "3.3.0"; }
13 { case = range "8.8" "8.16"; out = "3.2.0"; }
14 { case = range "8.8" "8.13"; out = "3.1.0"; }
15 { case = range "8.5" "8.9"; out = "3.0.2"; }
17 release."3.4.1".sha256 = "sha256-REhvIBl3EaL8CQqI34Gn7Xjf9NhPI3nrUAO26pSLbm0=";
18 release."3.4.0".sha256 = "sha256-LIj2SwTvVBxSAO58VYCQix/uxQQe8ey6hqFOSh3PNcg=";
19 release."3.3.1".sha256 = "sha256-YCvd4aIt2BxLKBYSWzN7aqo0AuY7z8oADmKvybhYBQI=";
20 release."3.3.0".sha256 = "sha256-bh9qP/EhWrHpTe2GMGG3S2vgBSSK088mFfhAIGejVoU=";
21 release."3.2.0".sha256 = "07w7dbl8x7xxnbr2q39wrdh054gvi3daqjpdn1jm53crsl1fjxm4";
22 release."3.1.0".sha256 = "02i0djar13yk01hzaqprcldhhscn9843x9nf6x3jkv4wv1jwnx9f";
23 release."3.0.2".sha256 = "1rqfbbskgz7b1bcpva8wh3v3456sq2364y804f94sc8y5sij23nl";
24 releaseRev = v: "coquelicot-${v}";
26 nativeBuildInputs = [ autoconf ];
27 propagatedBuildInputs = [ ssreflect ];
28 useMelquiondRemake.logpath = "Coquelicot";
31 homepage = "http://coquelicot.saclay.inria.fr/";
32 description = "A Coq library for Reals";
33 license = licenses.lgpl3;
34 maintainers = [ maintainers.vbgl ];