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

31 lines
902 B
Nix
Raw Normal View History

{ stdenv, fetchurl, which, coq, ssreflect }:
2017-12-02 08:44:29 +00:00
stdenv.mkDerivation {
2019-02-08 09:27:08 +00:00
name = "coq${coq.coq-version}-coquelicot-3.0.2";
2017-12-02 08:44:29 +00:00
src = fetchurl {
2019-02-08 09:27:08 +00:00
url = "https://gforge.inria.fr/frs/download.php/file/37523/coquelicot-3.0.2.tar.gz";
sha256 = "1biia7nfqf7vaqq5gmykl4rwjyvrcwss6r2jdf0in5pvp2rnrj2w";
};
nativeBuildInputs = [ which ];
buildInputs = [ coq ];
propagatedBuildInputs = [ ssreflect ];
2018-07-25 22:44:21 +01: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 14:00:47 +00:00
2018-04-24 15:21:21 +01:00
passthru = {
2019-02-08 09:27:08 +00:00
compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" ];
2018-04-24 15:21:21 +01:00
};
2018-03-21 14:00:47 +00:00
}