2014-12-08 06:33:37 +00:00
|
|
|
{ stdenv, fetchurl, which, coq, flocq, mathcomp }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-12-03 18:30:19 +00:00
|
|
|
name = "coq-interval-${coq.coq-version}-2.1.0";
|
2014-12-08 06:33:37 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-12-03 18:30:19 +00:00
|
|
|
url = https://gforge.inria.fr/frs/download.php/file/35092/interval-2.1.0.tar.gz;
|
|
|
|
sha256 = "02sn8mh85kxwn7681h2z6r7vnac9idh4ik3hbmr2yvixizakb70b";
|
2014-12-08 06:33:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ which ];
|
|
|
|
buildInputs = [ coq ];
|
|
|
|
propagatedBuildInputs = [ flocq mathcomp ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|