2017-11-13 08:29:27 +01:00
|
|
|
{ stdenv, fetchurl, which, coq, coquelicot, flocq, mathcomp
|
|
|
|
, bignums ? null }:
|
2014-12-08 07:33:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2017-12-02 09:48:41 +01:00
|
|
|
name = "coq${coq.coq-version}-interval-3.3.0";
|
2014-12-08 07:33:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-12-02 09:48:41 +01:00
|
|
|
url = "https://gforge.inria.fr/frs/download.php/file/37077/interval-3.3.0.tar.gz";
|
|
|
|
sha256 = "08fdcf3hbwqphglvwprvqzgkg0qbimpyhnqsgv3gac4y1ap0f903";
|
2014-12-08 07:33:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ which ];
|
2017-11-13 08:29:27 +01:00
|
|
|
buildInputs = [ coq ];
|
|
|
|
propagatedBuildInputs = [ bignums coquelicot flocq mathcomp ];
|
2014-12-08 07:33:37 +01:00
|
|
|
|
|
|
|
configurePhase = "./configure --libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Interval";
|
|
|
|
buildPhase = "./remake";
|
|
|
|
installPhase = "./remake install";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://coq-interval.gforge.inria.fr/;
|
|
|
|
description = "Tactics for simplifying the proofs of inequalities on expressions of real numbers for the Coq proof assistant";
|
|
|
|
license = licenses.cecill-c;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
platforms = coq.meta.platforms;
|
|
|
|
};
|
2018-03-21 15:00:47 +01:00
|
|
|
|
|
|
|
passthru = { inherit (mathcomp) compatibleCoqVersions; };
|
|
|
|
|
2014-12-08 07:33:37 +01:00
|
|
|
}
|