2016-01-06 09:35:05 +01:00
|
|
|
{ stdenv, fetchurl, which, coq, coquelicot, flocq, mathcomp }:
|
2014-12-08 07:33:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2017-01-28 07:54:33 +01:00
|
|
|
name = "coq${coq.coq-version}-interval-3.1.1";
|
2014-12-08 07:33:37 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-01-28 07:54:33 +01:00
|
|
|
url = https://gforge.inria.fr/frs/download.php/file/36342/interval-3.1.1.tar.gz;
|
|
|
|
sha256 = "0jzkb0xykiz9bfaminy9yd88b5w0gxcpw506yaaqmnmb43gdksyf";
|
2014-12-08 07:33:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ which ];
|
|
|
|
buildInputs = [ coq ];
|
2016-01-06 09:35:05 +01:00
|
|
|
propagatedBuildInputs = [ 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;
|
|
|
|
};
|
|
|
|
}
|