blob: 6910f487c64ea81c8c0e84aa5ccdbde7c52cd7b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, mkCoqDerivation, coq, bignums, math-classes, version ? null }:
with lib; mkCoqDerivation rec {
pname = "corn";
inherit version;
defaultVersion = switch coq.coq-version [
{ case = "8.6"; out = "8.8.1"; }
{ case = (versions.range "8.7" "8.12"); out = "8.12.0"; }
] null;
release = {
"8.8.1".sha256 = "0gh32j0f18vv5lmf6nb87nr5450w6ai06rhrnvlx2wwi79gv10wp";
"8.12.0".sha256 = "0b92vhyzn1j6cs84z2182fn82hxxj0bqq7hk6cs4awwb3vc7dkhi";
};
preConfigure = "patchShebangs ./configure.sh";
configureScript = "./configure.sh";
dontAddPrefix = true;
propagatedBuildInputs = [ bignums math-classes ];
meta = {
homepage = "http://c-corn.github.io/";
license = licenses.gpl2;
description = "A Coq library for constructive analysis";
maintainers = [ maintainers.vbgl ];
};
}
|