From 6a69a25c5687ab9a50b79197bf15fadf65644d14 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 8 Dec 2014 07:33:37 +0100 Subject: [PATCH] Adds coq-interval This library provides vernacular files containing tactics for simplifying the proofs of inequalities on expressions of real numbers for the Coq proof assistant. Homepage: http://coq-interval.gforge.inria.fr/ --- .../coq-modules/interval/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/coq-modules/interval/default.nix diff --git a/pkgs/development/coq-modules/interval/default.nix b/pkgs/development/coq-modules/interval/default.nix new file mode 100644 index 000000000000..36533ab35d5d --- /dev/null +++ b/pkgs/development/coq-modules/interval/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl, which, coq, flocq, mathcomp }: + +stdenv.mkDerivation { + name = "coq-interval-${coq.coq-version}-2.0.0"; + + src = fetchurl { + url = https://gforge.inria.fr/frs/download.php/file/34294/interval-2.0.0.tar.gz; + sha256 = "0wx0z07nhx88hwl20icgb5w4mx6s5pn7mhzyx5jn8f7yl1m46ad2"; + }; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 142587634aeb..34131892ac7d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12202,6 +12202,8 @@ let heq = callPackage ../development/coq-modules/heq {}; + interval = callPackage ../development/coq-modules/interval {}; + mathcomp = callPackage ../development/coq-modules/mathcomp {}; paco = callPackage ../development/coq-modules/paco {};