2020-08-28 22:05:46 +01:00
|
|
|
{ lib, mkCoqDerivation, coq, bignums, math-classes, version ? null }:
|
2018-11-29 16:54:24 +00:00
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
with lib; mkCoqDerivation rec {
|
2018-11-29 16:54:24 +00:00
|
|
|
pname = "corn";
|
2020-08-28 22:05:46 +01:00
|
|
|
inherit version;
|
|
|
|
defaultVersion = if versions.range "8.6" "8.9" coq.coq-version then "8.8.1" else null;
|
|
|
|
release."8.8.1".sha256 = "0gh32j0f18vv5lmf6nb87nr5450w6ai06rhrnvlx2wwi79gv10wp";
|
2018-11-29 16:54:24 +00:00
|
|
|
|
|
|
|
preConfigure = "patchShebangs ./configure.sh";
|
|
|
|
configureScript = "./configure.sh";
|
|
|
|
dontAddPrefix = true;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bignums math-classes ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://c-corn.github.io/";
|
2020-08-28 22:05:46 +01:00
|
|
|
license = licenses.gpl2;
|
2018-11-29 16:54:24 +00:00
|
|
|
description = "A Coq library for constructive analysis";
|
2020-08-28 22:05:46 +01:00
|
|
|
maintainers = [ maintainers.vbgl ];
|
2018-11-29 16:54:24 +00:00
|
|
|
};
|
|
|
|
}
|