nixpkgs/pkgs/development/coq-modules/coquelicot/default.nix

31 lines
890 B
Nix
Raw Normal View History

{ stdenv, fetchurl, which, coq, ssreflect }:
2017-12-02 09:44:29 +01:00
stdenv.mkDerivation {
name = "coq${coq.coq-version}-coquelicot-3.0.1";
src = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/file/37045/coquelicot-3.0.1.tar.gz";
sha256 = "0hsyhsy2lwqxxx2r8xgi5csmirss42lp9bkb9yy35mnya0w78c8r";
};
nativeBuildInputs = [ which ];
buildInputs = [ coq ];
propagatedBuildInputs = [ ssreflect ];
2018-07-25 23:44:21 +02:00
configureFlags = [ "--libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Coquelicot" ];
buildPhase = "./remake";
installPhase = "./remake install";
meta = {
homepage = http://coquelicot.saclay.inria.fr/;
description = "A Coq library for Reals";
license = stdenv.lib.licenses.lgpl3;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (coq.meta) platforms;
};
2018-03-21 15:00:47 +01:00
2018-04-24 16:21:21 +02:00
passthru = {
compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" ];
};
2018-03-21 15:00:47 +01:00
}