coqPackages.corn: init at 8.8.1

This commit is contained in:
Vincent Laporte 2018-11-29 16:54:24 +00:00 committed by Vincent Laporte
parent 48e49d01b6
commit 2b66c286be
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub, coq, bignums, math-classes }:
stdenv.mkDerivation rec {
pname = "corn";
version = "8.8.1";
name = "coq${coq.coq-version}-${pname}-${version}";
src = fetchFromGitHub {
owner = "coq-community";
repo = pname;
rev = version;
sha256 = "0gh32j0f18vv5lmf6nb87nr5450w6ai06rhrnvlx2wwi79gv10wp";
};
buildInputs = [ coq ];
preConfigure = "patchShebangs ./configure.sh";
configureScript = "./configure.sh";
dontAddPrefix = true;
propagatedBuildInputs = [ bignums math-classes ];
enableParallelBuilding = true;
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
meta = {
homepage = http://c-corn.github.io/;
license = stdenv.lib.licenses.gpl2;
description = "A Coq library for constructive analysis";
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (coq.meta) platforms;
};
passthru = {
compatibleCoqVersions = v: stdenv.lib.versionAtLeast v "8.6";
};
}

View File

@ -20,6 +20,7 @@ let
coq-haskell = callPackage ../development/coq-modules/coq-haskell { };
coqprime = callPackage ../development/coq-modules/coqprime {};
coquelicot = callPackage ../development/coq-modules/coquelicot {};
corn = callPackage ../development/coq-modules/corn {};
dpdgraph = callPackage ../development/coq-modules/dpdgraph {};
equations = callPackage ../development/coq-modules/equations { };
fiat_HEAD = callPackage ../development/coq-modules/fiat/HEAD.nix {};